uraimo / run-on-arch-action

A Github Action that executes jobs/commands on non-x86 cpu architectures (ARMv6, ARMv7, aarch64, s390x, ppc64le, riscv64) via QEMU
BSD 3-Clause "New" or "Revised" License
677 stars 149 forks source link

Use `aptman/qus` instead of `multiarch/qemu-user-static` #49

Closed messense closed 1 year ago

messense commented 3 years ago

aptman/qus works on amd64, arm64v8, arm32v7, arm32v6, i386, s390x or ppc64le hosts and supports more architectures.

messense commented 3 years ago

Paves the way for https://github.com/uraimo/run-on-arch-action/issues/28 RISCV 32 and 64 bit support.

uraimo commented 3 years ago

Thanks for the PR @messense but right now I don't see any advantages in migrating to qus other than skipping the user-static installation and supporting non-amd64 host (which we don't need). Both RISC platform should be supported by qemu-user-static too. I'm not merging this for now, if I change my mind I'll recover this PR and will bring it in.

messense commented 3 years ago

I'd like to be able to use this action on self hosted arm64 linux actions runner which is currently not possible.

triplef commented 3 years ago

From this it sounds like one advantage of aptman/qus would be the possibility to avoid installing a full QEMU package and instead only install the necessary archs. Is this something we could do here in order to speed up setup?