ci: use pre-built AMI for arm64 CI and skip redundant setup#6898
Merged
joseph-isaacs merged 2 commits intodevelopfrom Mar 12, 2026
Merged
ci: use pre-built AMI for arm64 CI and skip redundant setup#6898joseph-isaacs merged 2 commits intodevelopfrom
joseph-isaacs merged 2 commits intodevelopfrom
Conversation
RunsOn reads config from the default branch (develop) for public repos. Add _extends to inherit runner config from .github-private and pin arm64 AMI for prebuilt image testing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
e377364 to
85a6cce
Compare
85a6cce to
155664e
Compare
0516ff7 to
e9cb69f
Compare
Use the custom `ubuntu24-full-arm64-pre` image (defined in the private runs-on config) for the arm64 test runner. Skip setup-rust and nextest install since they are pre-built in the AMI. Add a setup-prebuild action to configure and start sccache on pre-built runners. Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
e9cb69f to
a9a27a4
Compare
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.
Summary
Use the custom
ubuntu24-full-arm64-preAMI image for the arm64 test runner, which has the Rust toolchain and nextest pre-installed.Changes:
image=ubuntu24-full-arm64-preto the arm64 runner config in CIsetup-rustandnextestinstall steps for arm64 (already in the AMI)fallback_runnerfor arm64 (not needed since forks don't use runs-on runners)Testing
CI will validate the arm64 tests run correctly with the pre-built AMI.