We currently don't have any plans to support environments outside of Linux. You can always check our public roadmap for future plans: https://github.com/orgs/github/projects/4247/views/1
I want to use this https://github.com/kholia/OSX-KVM/ to run Mac machine to compile iOS app, but I don't have enough network bandwidth nor disk space to download the disk images, so I'm planning to use GitHub codespaces
Is it illegal to do so, and could GitHub ban me or something for doing this?
Videos
How do I enable Codespaces on GitHub?
Codespaces is on by default for developers with a GitHub free account. If you belong to an organization, there may be a policy that prevents cloning—but if you can clone a repository, you will be able to start using Codespaces. Organizations will also need to pay for, enable, and manage their Codespaces instances.
Is Codespaces available for individual developers?
Codespaces is available for developers in every organization, and under the control of the organization who pays for the user's codespace. All personal (individual) GitHub.com accounts include a quota of free usage each month, which organizations can enable (see the next question) for their private and internal repositories. GitHub will provide users in the free plan 120 core hours or 60 hours of run time on a 2 core codespace, plus 15 GB of storage each month. See how it's balanced on the billing page.
How do I use Codespaces?
There are a number of entry points to spin up a Codespaces environment, including:
A template.
Your repository for new feature work
An open pull request to explore work-in-progress
A commit in the repository's history to investigate a bug at a specific point in time
Visual Studio Code
In beta, can you also use your JetBrains IDE or JupyterLab
Learn more about how to use Codespaces in our documentation.