feat(ci): Use arm64 runner for testing
before
after
Summary by CodeRabbit
- Chores
- Updated the build and test process to use tailored environments for different system architectures. This improvement optimizes performance and reliability during development, ensuring more consistent delivery quality.
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
Walkthrough
This pull request modifies the GitHub Actions workflow in .github/workflows/test-humble.yml. The job matrix configuration is updated to include explicit entries for each architecture. Specifically, the matrix now defines separate entries for amd64 with runner: ubuntu-22.04 and arm64 with runner: ubuntu-22.04-arm, and the runs-on directive is modified to use ${{ matrix.runner }}. These changes enable the CI/CD pipeline to select architecture-specific runner environments.
Changes
| File | Changes |
|---|---|
.github/workflows/test-humble.yml |
Updated the job matrix by replacing a static list with an include section defining explicit entries for amd64 (runner: ubuntu-22.04) and arm64 (runner: ubuntu-22.04-arm). Updated runs-on to use ${{ matrix.runner }}. |
Sequence Diagram(s)
sequenceDiagram
participant CI as GitHub Actions
participant Matrix as Job Matrix
participant Runner as Runner Environment
CI->>Matrix: Load job matrix configuration
Matrix-->>CI: Provide runner info for amd64 (ubuntu-22.04)
CI->>Runner: Dispatch build job on ubuntu-22.04
CI->>Matrix: Load job matrix configuration
Matrix-->>CI: Provide runner info for arm64 (ubuntu-22.04-arm)
CI->>Runner: Dispatch build job on ubuntu-22.04-arm
Poem
I'm a little rabbit in a CI land,
Hopping through matrix fields, oh so grand.
With each architecture set to its perfect floor,
amd64 and arm64 jump open the door.
My codes dance and run without a frown,
Celebrating runners that never let me down!
✨ Finishing touches
🧪 Generate unit tests (beta)
- [ ] Create PR with unit tests
- [ ] Post copyable unit tests in a comment
- [ ] Commit unit tests in branch
feature/arm64-runner
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.