Build against ARM64

I am running a project which is going to be deployed on Raspberry Pi 3 and 4. I would like to know if it’s possible to use Github Actions for that? Does Github provide a RPi backend to build my project or I have to use an external/private runner?

Thanks,
Panos

Hi @drpaneas,

Here is an artical about how to use Pi4 with Github Action, you can follow it and install self-hosted runner agent on Pi4, and also try with Pi3:

Or you can try to install docker container on Raspberry Pi, and install self-hosted runner on the docker.(sample here).

Besides, you can use existing Pi docker image(check docker hub) to build your RPi project, if your Pi can be accessed from internet, can deploy it via script.

Thanks

Hi, I do this with qemu and packer.

You can check it out here:


1 Like

Hi @weide-zhou,

Thank you for the information. Indeed having a dedicated self-hosted RaspberryPi can do the trick. However, I would really love of this can be provided as-a-service, from Github, so to avoid exposing my local network to the world. Do you happen to know if there are any plans for Github to provide an arm64-based VM in the nearest future?

Hi @drpaneas,

If you setup a self-hosted runner on your RaspberryPi, it’s safe to use Github action workflow for the deploy, won’t expose local network to public.

Do you happen to know if there are any plans for Github to provide an arm64-based VM in the nearest future?

Do you mean any plan to provide a new hosted runner? No i don’t find the related info, but you can raise a feature request ticket here where github product manager will take a review.

Thanks.