Repository navigation
ci: run macOS lint on arm64 runner - #37254
Merged
Merged
Conversation
.cargo/config.toml links aarch64-apple-darwin with -fuse-ld=lld, so the lint job needs the same prebuilt ld64.lld the arm64 build jobs install.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The macOS lint job runs on the Intel
macos-15-intelrunner, where a coldclippy build of the workspace takes longer than the job's 30 minute timeout.
Its build cache is only saved by successful runs on main, so once a main run
times out (as on Nov 29) there is no cache left and every subsequent run
starts cold and times out too. Even warm runs on main took 21-23 minutes.
This moves the job to the arm64
macos-15runner that the other arm64 macOSjobs already use, which is considerably faster. Like those jobs it installs
the prebuilt
ld64.lld, since.cargo/config.tomllinks aarch64 macOS with-fuse-ld=lld. Alltarget_os = "macos"code is still linted; onlyx86_64-specific cfgs lose macOS coverage. The job is renamed to
lint debug macos-aarch64;ci statusis the only required check, so thatdoes not affect merging.