SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.53k stars 1.11k forks source link

Cross-compilation targeting OSX #1181

Open simonsan opened 4 years ago

simonsan commented 4 years ago

We surely could use the Travis CI also as our pipeline for packaging for darwin, but it would be better for OSX as a unix-based operating system to cross compile under linux and as a next step to also do the packaging on linux. This is something, that for sure we should also aim for when it comes to windows. But as we already figured out, this will take more effort and different approach to accomplish than for this one here for darwin.

We could also use something like a ready Cross compile toolchain. Or even something like a docker container working with osxcross for cross-compilation targeting darwin.

matthieudelaro commented 10 months ago

How about building directly from a OSX environment?

heinezen commented 10 months ago

@matthieudelaro that's what we are currently doing but it's not always great. Especially for CI builds which are really slow in GitHub Actions (~15 min) in comparison to our other build pipeline for Linux (~1-2 min).