Is there any way to build Raspbian artifacts in actions? #25650
-
I recently started using GitHub Actions to automate the creation of release artifacts on each code push, and have been delighted to produce all three of the deliverables for my most popular project, which are an executable Jar file, a windows MSI installer, and a code signed and notarized Mac disk image. This is an amazing platform, thanks so much! Now I am wondering if I can achieve something similar for another popular project, but one of the formats I need to build is a Rasbpian binary. Is there any way, even with docker jobs, to run and build code for the ARMv6 architecture? Or is that not yet practical until it becomes a supported runner type? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
GitHub Actions now supports self-hosted runners on the ARM and ARM64 architectures. https://github.blog/changelog/2019-12-03-github-actions-self-hosted-runners-on-arm-architectures/ You could consider to set up a self-hosted runner on your ARMv6 architecture machine. |
Beta Was this translation helpful? Give feedback.
-
That’s interesting, but I only have one Raspberry Pi, it is not always connected to the internet, and there are all kinds of security warnings about using self-hosted runners on hardware you care about, so that isn’t the answer I was hoping for. Are there plans to offer GitHub hosted virtual machines with ARM architecture someday? |
Beta Was this translation helpful? Give feedback.
-
>>Are there plans to offer GitHub hosted virtual machines with ARM architecture someday? Please share this feature requests for GitHub Actions in the Feedback form for GitHub Actions. |
Beta Was this translation helpful? Give feedback.
-
Hello, I tried to install Github Actions Runner on a Pi Zero W with Armv6 and it is failing. github.com/actions/runnerPi Zero W: ./config.sh: line 79: 6312 Segmentation fault ./bin/Runner.Listener configure "$@"
Describe the bug Going through the steps to add self-hosted runner on a Raspberry Pi Zero W. Apologies if this is the...
bug
|
Beta Was this translation helpful? Give feedback.
-
Hi, i have the same problem. I try to use a Pi 2B (I know it is outdated). Did you found a solution. I think a problem could be the limited memory. |
Beta Was this translation helpful? Give feedback.
-
Hi, I don’t know if you are looking still looking for some solution, but I was able after some (a lot) of trial and error to build a project using the arm-runner-action from the marketplace. I had compiling cmake (which takes time) since I needed it, and it seems to be the only way to make it run in qemu for the moment (there is a bug in cmake and the last version is not yet in Raspberry Pi packages repository). You can have a look at the action I used here: Add image to release · eLAB-Birdhouse/birdhouse_raspimjpeg@514b07e · GitHub Note that I did not fully test my binary after building it… So maybe it’s not fully working. Vincent |
Beta Was this translation helpful? Give feedback.
>>Are there plans to offer GitHub hosted virtual machines with ARM architecture someday?
Please share this feature requests for GitHub Actions in the Feedback form for GitHub Actions.