File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 steps :
1717 - uses : actions/checkout@v4
1818 - name : Install build tools
19- run : sudo apt-get update && sudo apt-get install -y cmake make wget
19+ run : sudo apt-get update && sudo apt-get install -y cmake make wget qemu-user-static binfmt-support
2020 - name : Download and install musl-cross toolchain
2121 run : ./scripts/download-musl-cross.sh arm-unknown-linux-musleabihf
2222 - name : Configure and Build
2727 -DCMAKE_C_FLAGS='-static' \
2828 -DCMAKE_SYSTEM_NAME=Linux \
2929 -DCMAKE_SYSTEM_PROCESSOR=arm \
30+ -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/qemu-arm-static \
3031 ..
3132 cmake --build .
3233 - name : Upload build artifacts
Original file line number Diff line number Diff line change 1616 steps :
1717 - uses : actions/checkout@v4
1818 - name : Install build tools
19- run : sudo apt-get update && sudo apt-get install -y cmake make wget
19+ run : sudo apt-get update && sudo apt-get install -y cmake make wget qemu-user-static binfmt-support
2020 - name : Download and install musl-cross toolchain
2121 run : ./scripts/download-musl-cross.sh powerpc64le-unknown-linux-musl
2222 - name : Configure and Build
2727 -DCMAKE_C_FLAGS='-static' \
2828 -DCMAKE_SYSTEM_NAME=Linux \
2929 -DCMAKE_SYSTEM_PROCESSOR=ppc64le \
30+ -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/qemu-ppc64le-static \
3031 ..
3132 cmake --build .
3233 - name : Upload build artifacts
Original file line number Diff line number Diff line change 1616 steps :
1717 - uses : actions/checkout@v4
1818 - name : Install build tools
19- run : sudo apt-get update && sudo apt-get install -y cmake make wget
19+ run : sudo apt-get update && sudo apt-get install -y cmake make wget qemu-user-static binfmt-support
2020 - name : Download and install musl-cross toolchain
2121 run : ./scripts/download-musl-cross.sh riscv64-unknown-linux-musl
2222 - name : Configure and Build
2727 -DCMAKE_C_FLAGS='-static' \
2828 -DCMAKE_SYSTEM_NAME=Linux \
2929 -DCMAKE_SYSTEM_PROCESSOR=riscv64 \
30+ -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/qemu-riscv64-static \
3031 ..
3132 cmake --build .
3233 - name : Upload build artifacts
Original file line number Diff line number Diff line change 1616 steps :
1717 - uses : actions/checkout@v4
1818 - name : Install build tools
19- run : sudo apt-get update && sudo apt-get install -y cmake make wget
19+ run : sudo apt-get update && sudo apt-get install -y cmake make wget qemu-user-static binfmt-support
2020 - name : Download and install musl-cross toolchain
2121 run : ./scripts/download-musl-cross.sh s390x-ibm-linux-musl
2222 - name : Configure and Build
2727 -DCMAKE_C_FLAGS='-static' \
2828 -DCMAKE_SYSTEM_NAME=Linux \
2929 -DCMAKE_SYSTEM_PROCESSOR=s390x \
30+ -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/qemu-s390x-static \
3031 ..
3132 cmake --build .
3233 - name : Upload build artifacts
You can’t perform that action at this time.
0 commit comments