Skip to content

ci: ship a native arm64 macOS binary - #53

Merged
bircni merged 1 commit into
mainfrom
fix/macos-arm64-binary
Jul 14, 2026
Merged

ci: ship a native arm64 macOS binary#53
bircni merged 1 commit into
mainfrom
fix/macos-arm64-binary

Conversation

@bircni

@bircni bircni commented Jul 14, 2026

Copy link
Copy Markdown
Owner

The only macOS artifact was x86_64-apple-darwin, so Apple Silicon users relied on Rosetta 2 to run it. Machines without Rosetta installed fail with "bad CPU type in executable".

Add aarch64-apple-darwin to the release matrix so a native arm64 binary is published alongside the x86_64 one.

Dropping the top-level os key is required, not cosmetic: with it, both macos-latest include entries would merge into the same job and the last target would win, silently replacing the x86_64 build instead of adding the arm64 one. With include-only, each entry expands to its own job.

Closes #51

The only macOS artifact was x86_64-apple-darwin, so Apple Silicon users
relied on Rosetta 2 to run it. Machines without Rosetta installed fail
with "bad CPU type in executable".

Add aarch64-apple-darwin to the release matrix so a native arm64 binary
is published alongside the x86_64 one.

Dropping the top-level `os` key is required, not cosmetic: with it, both
macos-latest include entries would merge into the same job and the last
`target` would win, silently replacing the x86_64 build instead of adding
the arm64 one. With include-only, each entry expands to its own job.

Closes #51
@bircni
bircni merged commit 01f8e4a into main Jul 14, 2026
8 of 9 checks passed
@bircni
bircni deleted the fix/macos-arm64-binary branch July 14, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support macOS 27

1 participant