Skip to content
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: Replace Cirrus CI with paid AWS CodeBuild for Linux arm64 testing #442

Merged
merged 5 commits into from
Jul 13, 2024

Conversation

tatsuya6502
Copy link
Member

For running tests on a real Linux arm64 machine, we were using a free plan from Cirrus CI. It worked fine except slow builds. It usually took ~25 minutes to complete one CI job.

This PR replaces Cirrus CI with a GH self-hosted runner at AWS CodeBuild. It is a paid plan but the build time is reduced to ~10 minutes when AWS Graviton (4 vCPUs) with 8GB memory is used. Hopefully it will not cost too much.

@tatsuya6502 tatsuya6502 added this to the v0.12.9 milestone Jul 13, 2024
Copy link

codecov bot commented Jul 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.00%. Comparing base (41d7003) to head (1636ed9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #442      +/-   ##
==========================================
- Coverage   95.01%   95.00%   -0.02%     
==========================================
  Files          44       44              
  Lines       20983    20979       -4     
==========================================
- Hits        19938    19932       -6     
- Misses       1045     1047       +2     

@tatsuya6502
Copy link
Member Author

tatsuya6502 commented Jul 13, 2024

List of duration to run a CI job on Rust stable:

Runner Instance Type OS Arch vCPUs RAM Duration
GitHub-hosted (Azure) ubuntu-latest Linux x86_64 4 16 GB 7m 34s
AWS CodeBuild arm-3.0-medium Linux AArch64 4 8 GB 8m 41s
AWS CodeBuild arm-3.0-small Linux AArch64 2 4 GB 16m 3s

Copy link
Member Author

@tatsuya6502 tatsuya6502 left a comment

Choose a reason for hiding this comment

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

Merging.

@tatsuya6502 tatsuya6502 merged commit 56cf794 into main Jul 13, 2024
43 checks passed
@tatsuya6502 tatsuya6502 deleted the ci-aws-codebuild-arm64 branch July 13, 2024 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant