game-ci / unity-orb

Build and test Unity projects for several platforms using CircleCI.
https://circleci.com/developer/orbs/orb/game-ci/unity
MIT License
7 stars 12 forks source link

feat!: add Windows Executor and Windows Runner support #11

Closed EricRibeiro closed 2 years ago

EricRibeiro commented 2 years ago

This pull request adds support for running builds and tests on Windows. Now users can build Windows IL2CPP projects using the unity-orb. 🎉

It also breaks support for all ubuntu/20xx executors. Moving forward, the only docker executor available will be ubuntu as having multiple of them caused some confusion regarding Editor version change.

Runner support is limited to Windows machines with docker installed. If shorter build times are a must, it's highly recommended to opt for runners instead of the Windows executor. The environment preparation time will go down a lot due to the docker image caching and the fact that all Windows Build Tools packages will already be installed.

Runner support was tested using an m5.2xlarge EC2 instance running Windows with docker.

Changes