Skip to content

ci: use pre-built AMI for arm64 CI and skip redundant setup#6898

Merged
joseph-isaacs merged 2 commits intodevelopfrom
ji/use-custom-image
Mar 12, 2026
Merged

ci: use pre-built AMI for arm64 CI and skip redundant setup#6898
joseph-isaacs merged 2 commits intodevelopfrom
ji/use-custom-image

Conversation

@joseph-isaacs
Copy link
Contributor

@joseph-isaacs joseph-isaacs commented Mar 11, 2026

Summary

Use the custom ubuntu24-full-arm64-pre AMI image for the arm64 test runner, which has the Rust toolchain and nextest pre-installed.

Changes:

  • Add image=ubuntu24-full-arm64-pre to the arm64 runner config in CI
  • Skip setup-rust and nextest install steps for arm64 (already in the AMI)
  • Remove fallback_runner for 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.

@joseph-isaacs joseph-isaacs added the changelog/skip Do not list PR in the changelog label Mar 11, 2026
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>
@joseph-isaacs joseph-isaacs changed the title test prebuild ci: use pre-built AMI for arm64 CI and skip redundant setup Mar 12, 2026
@joseph-isaacs joseph-isaacs requested review from 0ax1 and AdamGS March 12, 2026 15:35
@joseph-isaacs joseph-isaacs marked this pull request as ready for review March 12, 2026 15:35
Copy link
Contributor

@0ax1 0ax1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚤

@joseph-isaacs joseph-isaacs force-pushed the ji/use-custom-image branch 3 times, most recently from 0516ff7 to e9cb69f Compare March 12, 2026 16:07
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>
@joseph-isaacs joseph-isaacs enabled auto-merge (squash) March 12, 2026 16:15
@joseph-isaacs joseph-isaacs merged commit e523a58 into develop Mar 12, 2026
54 checks passed
@joseph-isaacs joseph-isaacs deleted the ji/use-custom-image branch March 12, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/skip Do not list PR in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants