Does GitHub Actions (cloud) allow running of ARM based instances? #25319
-
When we run code online for testing with CI/CD, is there an option to make it so that our code can run on Ubuntu on ARM? I’m assuming that all existing OS options are all on x86 |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 8 replies
-
I’m not aware of any directly supported options. If you’re willing to build a somewhat complex workflow you could either set up a VM, or (for better performance) cross-compile and then use Qemu user space emulation to test ARM binaries in the runner system. Here’s a tutorial for Debian, it should be possible to adapt that to Ubuntu. |
Beta Was this translation helpful? Give feedback.
-
Hi @joshuarobs, Glad to see you in Github Community Forum! Thanks. |
Beta Was this translation helpful? Give feedback.
-
@weide-zhou Thanks for clarification. Also can you run your own self hosted runners with a free account of GitHub or is this only a premium feature? |
Beta Was this translation helpful? Give feedback.
-
Hi @joshuarobs, Free account can use self-hosted runner. Thanks |
Beta Was this translation helpful? Give feedback.
-
Would be great to ARM being directly supported by GitHub actions, I've found qemu to be quite slow for 32-bit ARM versions. Don't get me wrong, the fact that qemu can still build a 32-bit ARM image on 64-bit amd64 architecture is incredibly impressive! ARM support from GitHub actions would mean being able to swarm your build compilations, but also generally test how code performs on ARM instances. |
Beta Was this translation helpful? Give feedback.
-
Looks like Github will be adding ARM based runners in the near future 🥳 🚀 🎊 |
Beta Was this translation helpful? Give feedback.
-
Still no public access and no information about free plans and public repositories - Arm-based hosted runners are coming to GitHub Actions! 🚢 #73040. |
Beta Was this translation helpful? Give feedback.
Hi @joshuarobs,
Glad to see you in Github Community Forum!
Yes, the Ubuntu hosted runners provided by Github are all ‘x86_64’ architecture. If you’d like to run code on Ubuntu on ARM, you can create a self-hosted runner, and invoke it in the workflow.
https://help.github.com/en/actions/hosting-your-own-runners/adding-self-hosted-runners.
Thanks.