Recently, macos-latestswitched from macos-12 (x86_64) to macos-14 (aarch64, i.e. M1 ARM). The current code for building a macOS release binary only works for x86_64-darwin. This PR fixes that (allowing to also build on aarch64-darwin), and also renames the release artifacts from
Recently,
macos-latest
switched frommacos-12
(x86_64
) tomacos-14
(aarch64
, i.e. M1 ARM). The current code for building a macOS release binary only works forx86_64-darwin
. This PR fixes that (allowing to also build onaarch64-darwin
), and also renames the release artifacts fromto the more precise
See https://github.com/amesgen/ormolu/releases/tag/test-release-new for an example release with this new code.
Also, we now properly sign the macOS binaries, as running
aarch64-darwin
binaries requires that.