qemu-static
qemu-static copied to clipboard
add ci workflow to build on linux x86_64 and aarch64
I added a CI workflow that does the qemu-static build steps using GitHub Actions runners, figured I'd open a PR to offer it here upstream in case there's interest in it.
- Builds qemu-static userspace binaries for x86_64 and aarch64 Linux
- For releases, uploads the built artifacts to the release
- workflow_dispatch that allows testing builds in branches without doing a release or committing to the master/main branch
I also have "main" listed as a trigger that can be removed if desired, or if you ever rename your branch from "master" to "main" then no changes would be needed to this workflow. (I was testing on a branch named "main" in my fork, which will have some other changes that diverge from this repository).
Here's one of the runs from my fork showing a test of building and attaching artifacts to a newly created GitHub release: https://github.com/nightlark/qemu-static/actions/runs/19246778034