Skip to content
Discussion options

You must be logged in to vote

I think this is likely caused by the GitHub Actions macOS runner, not by Anchor itself.

macos-latest currently resolves to a macOS arm64 / Apple Silicon runner. If your local Mac is Intel, or if the Solana/Anchor toolchain behaves differently on arm64 CI, that would explain why it works locally and on ubuntu-latest, but fails only on macos-latest.

As a quick check, I would add this before installing/running Anchor:

uname -m
sw_vers
solana --version
anchor --version

The first thing I would try is pinning the macOS job to an Intel runner:

- environment: [ubuntu-latest, macos-latest]
+ environment: [ubuntu-latest, macos-15-intel]

or directly:

runs-on: macos-15-intel

I would also avoid instal…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@smoelius
Comment options

@For8stt
Comment options

Answer selected by smoelius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants