Linux arm64 hosted runners now available for free in public repositories (Public Preview) 🎉 #148648
Replies: 14 comments 19 replies
-
I tried using this in https://github.com/rust-lang/rustc_codegen_cranelift/actions/runs/12814835730/job/35732202343, but it seems that the cargo binary is not marked as executable. |
Beta Was this translation helpful? Give feedback.
-
I tested it a bit, but it looks like it uses the wrong permissions:
This is the error why it fails:
this is my github action: https://github.com/LinwoodDev/Butterfly/blob/7cb574ed18fea6f8aa825069dcd8955cae99d1e7/.github/workflows/build.yml https://github.com/LinwoodDev/Butterfly/actions/runs/12815058129/job/35732903060?pr=787 |
Beta Was this translation helpful? Give feedback.
-
Is there a plan to add a |
Beta Was this translation helpful? Give feedback.
-
The new runners don't report that they are ARM and have incorrect links in the "Set up job" step: The "Runner Image" should report |
Beta Was this translation helpful? Give feedback.
-
I'm puzzled about my perceived lack of performance gains using the new runners... For my project building a multi-platform docker image using GHA with QEMU/buildx/build-push-action on a normal runner has always taken a long time (11-13min) -- and the majority of that time was spent on the arm emulation part of the build. The x86 part takes ~1:30 while arm finishes in 9-10 minutes. I've always expected this would be the case due to the emulation. But now I've tried the new runner using a GHA where a matrix builds my image on separate runners, arm/x86 native without QEMU, and the difference in build time is only about 8% faster. I'm scratching my head about why this isn't improved more. For an absolute comparison, the project builds the same docker image (for arm platform only) on my Raspberry Pi 5 in 1:40 and 1:50 on my RPI4b (compared to 8:37 on
EDIT: AS @darthmaim mentions below the solution is to use |
Beta Was this translation helpful? Give feedback.
-
The
See https://github.com/Athou/commafeed/actions/runs/12823180867/job/35757289975 The package is installed on
|
Beta Was this translation helpful? Give feedback.
-
Would have been nice to have support for hardware accelerated nested virtualization (KVM). Seems it's not available:
Does anyone know if there's a limitation in hardware, the virtualization layer or if it's just not configured to be enable? |
Beta Was this translation helpful? Give feedback.
-
No EDIT: Ok, saw this as well https://github.blog/changelog/2025-01-15-github-actions-ubuntu-20-runner-image-brownout-dates-and-other-breaking-changes/ |
Beta Was this translation helpful? Give feedback.
-
From time to time, I'm also seeing some docker instabilities when running jobs that have large matrices. Typical error messages are: https://github.com/mpi4py/mpi4py-publish/actions/runs/12827690739/job/35770200582#step:10:398 Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: unable to start unit "docker-8fd5c4828e7358dfa718c5dddf5f48350fc6a3e059fba62947fb8c540ddbf3fd.scope" (properties [{Name:Description Value:"libcontainer container 8fd5c4828e7358dfa718c5dddf5f48350fc6a3e059fba62947fb8c540ddbf3fd"} {Name:Slice Value:"system.slice"} {Name:Delegate Value:true} {Name:PIDs Value:@au [4710]} {Name:MemoryAccounting Value:true} {Name:CPUAccounting Value:true} {Name:IOAccounting Value:true} {Name:TasksAccounting Value:true} {Name:DefaultDependencies Value:false}]): Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms): unknown``` https://github.com/mpi4py/mpi4py-publish/actions/runs/12827690739/job/35770199123#step:10:287 + docker version -f '{{json .}}'
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? |
Beta Was this translation helpful? Give feedback.
-
Hello. I ran into permission problem using this new runner with |
Beta Was this translation helpful? Give feedback.
-
Should have been called |
Beta Was this translation helpful? Give feedback.
-
Are there plans for a |
Beta Was this translation helpful? Give feedback.
-
Ran into this error while testing the new
Looks like there's an open issue for this since 2020. Any chance this could be prioritized? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Now in public preview, Linux arm64 hosted runners are available for free in public repositories. Following the release of arm64 larger hosted runners in June, this offering now extends to the open source-community. ❤️
Powered by the Cobalt 100-based processors, these 4 vCPU runners can deliver up to a 40% performance boost compared to Microsoft Azure's previous generation of Arm-based VMs, providing a power-efficient compute layer for your workloads. Arm-native developers can now build, test and deploy entirely within the arm64 architecture without the need for virtualization on your Actions runs.
How to use the runners
To leverage the arm64 hosted runners, add the following labels in your public repository workflow runs:
ubuntu-24.04-arm
ubuntu-22.04-arm
Important
Please note that these labels will not work in private repositories, and the workflow will fail if added.
All runs in public repositories will adhere to our standard runners usage limits, with maximum concurrencies based on your plan type. While the arm64 runners are in public preview, you may experience longer queue times during peak usage hours.
Images
In partnership with Arm, GitHub provides the Ubuntu VM images for these runners, helping customers with a seamless start to building on Arm. To view the list of installed software, give feedback, or report issues with the image, visit the partner-runner-images repository.
Get started today!
To get started, simply add one of the new labels to the
runs-on
syntax in your public Actions workflow file. For more information on arm64 runners and how to use them, see our documentation.Share below what open source projects you maintain and how using GitHub Linux arm64 hosted runners will benefit you! Let us know how much speed performance they improve 🏎️ 🏎️
Read GitHub changelog
Beta Was this translation helpful? Give feedback.
All reactions