game-ci / unity-builder

Build Unity projects for different platforms
https://github.com/marketplace/actions/unity-builder
MIT License
838 stars 239 forks source link

Build Linux IL2CPP on Windows machine #441

Open wilg opened 1 year ago

wilg commented 1 year ago

It's possible to build Linux IL2CPP on a Windows version of Unity, which would save me from having to buy another machine!

I believe this is also possible from a Mac version of Unity.

Currently this results in:

Unable to find image 'unityci/editor:windows-2021.3.9f1-linux-il2cpp-1' locally

But I'm seeing if I can work around this.

webbertakken commented 1 year ago

We should probably add logic for the Windows machine to switch the docker backend from Windows images to Linux images and us the existing ubuntu based image.

Also note that Windows runners are twice as expensive as Linux runners, and we do support Linux IL2CPP on a linux runner already.

russmatney commented 2 weeks ago

Is it possible to build for linux and webGL with a windows-based game-ci image?

We were enjoying building with the linux images, but unfortunately we've added Wwise to our project, which rules out linux as a build tool (but not a target platform).