8/4/2022
•1 minute readToday, we’re happy to release the first-ever hosted ARM runners for GitHub Actions. This will enable many thousands of developers to finally get native support for their ARM workflows. BuildJet for GitHub Actions ARM runner makes your workflows 10x faster than what is currently possible on GitHub Actions.
With Apple's recent switch to ARM-based M1 processors, we see a growing requirement for ARM-compatible tooling and applications. This has emphasized the need for developers to test and build applications for ARM. However, building and testing your ARM applications is extremely slow as GitHub Actions does not natively support ARM.
To work around this on GitHub Actions, developers fall back to emulating ARM through QEMU. This is extremely slow and can become costly, and in numerous instances it runs for hours.
In our testing, we found that BuildJet for GitHub Actions finished 10x faster than GitHub Actions. In addition to the incredible gains in speed, GitHub Actions is 2 times as expensive as BuildJet for GitHub Actions.
Our 2vCPU ARM runner costs $0.004/min, compared to GitHub Actions runner $0.008/min for their 2vCPU x86 runner.
To benchmark the runner, we used sentry’s docker container snuba. Snuba builds to a docker container and supports the arm architecture. We ran the build on both GitHub Actions and on the new BuildJet ARM runners. The results are below:
Check out the benchmark workflow run here for more details.
If this sounds interesting, and you'd like to use BuildJet for GitHub Actions, simply authorize BuildJet on the repositories you want to use and then update the runs-on
property in your workflow.yml
.
yaml1runs-on: buildjet-4vcpu-ubuntu-2204-arm
For more information, please have a look at our documentation.
Happy building!
© 2024 BuildJet, Inc. - All rights reserved.
BuildJet has no affiliation with GitHub, Inc. or any of its parent or subsidiary companies and/or affiliates.