-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: use macos-14 runners #3985
ci: use macos-14 runners #3985
Conversation
@@ -119,7 +119,7 @@ jobs: | |||
rust-target: "x86_64-unknown-linux-gnu", | |||
} | |||
name: clippy/${{ matrix.platform.rust-target }}/${{ matrix.rust }} | |||
continue-on-error: ${{ matrix.platform.rust != 'stable' }} | |||
continue-on-error: ${{ matrix.rust != 'stable' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While updating I noticed that this setting was wrong; this is why the macOS aborts in CI are not blocking pull requests.
.github/workflows/ci.yml
Outdated
python-architecture: "x64", | ||
rust-target: "aarch64-apple-darwin", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why "x64" and "aarch64"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An oversight from me that probably needs correcting 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the filenames at https://github.com/actions/python-versions/releases, I think this needs to be arm64
e08293c
to
dfc831f
Compare
Architecture: arm64 was a good spot; it looks like that indeed is now using the system Python (presumably leaving x64 had left it to run under rosetta). The macOS-14 builds are now the fastest ones in the build matrix! I'm going to proceed to merge this both for the speedups and also so that clippy-on-macos stops being red. |
This PR proposes moving to arm macOS runners for CI, as they are faster than the x86_64 ones. We are having some aborts in
clippy
macOS job and I wonder if this change will also sweep that problem under the rug.For the full build matrix I stuck with x86_64 runners, as I think not all Python versions in our matrix currently support arm. I just added arm job for Python 3.12 for now. We can update that in future.