Feature: Add support for Apple Silicon (ARM64) build on macOS #8340
Friendly poke :)
Can you integrate this in the release-workflow? (not the CI). If you push to your own fork you can test it out by going to Actions, Release, and on the right is there a
Would be nice to have this in for 1.11 :)
I think this PR is ready for integration. I've tested it out on my own repository's Actions and the builds do work.
As discussed, there are issues with signing which means it won't work out-of-the-box on an M1 Mac without the user running:
xattr -r -d com.apple.quarantine /Applications/OpenTTD.app
to remove the "quarantine" flag from the application. This will be resolved once we are able to sign the app.
Once we have resolved that issue, I will look into building a Universal binary, though we may be happy initially at least to have separate AMD64 and ARM64 builds.
Currently, the macOS Actions workflow clones the latest vcpkg to a temporary folder; we can drop this once the default vcpkg in the macOS image is updated. (The version in the image does not include the .git folder, so we can't just update that.)