image: alpine/latest packages: - qemu-aarch64 - qemu-openrc sources: - https://git.sr.ht/~mcf/cproc - https://git.sr.ht/~mcf/qbe environment: PATH: $HOME/qbe/obj:$HOME/aarch64-linux-musl-cross/bin:$PATH tasks: - setup: | # work around bugs in qemu-binfmt sudo sed -i -e '/qemu_suffix:=/d' -e 's/printf/env &/' /etc/init.d/qemu-binfmt sudo /etc/init.d/qemu-binfmt start curl -O http://musl.cc/aarch64-linux-musl-cross.tgz tar --warning=no-unknown-keyword -xzf aarch64-linux-musl-cross.tgz - build: | cd qbe cat >config.h <