openage icon indicating copy to clipboard operation
openage copied to clipboard

Cross-compilation targeting OSX

Open simonsan opened this issue 6 years ago • 2 comments

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.

simonsan avatar Oct 23 '19 20:10 simonsan

How about building directly from a OSX environment?

matthieudelaro avatar Sep 17 '23 19:09 matthieudelaro

@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).

heinezen avatar Sep 17 '23 20:09 heinezen