From 29dd526bf07aa1ba71315c912bab1c6c8d0399e2 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Thu, 14 Nov 2024 20:29:23 +0100 Subject: [PATCH] ci: Add more architectures Signed-off-by: Michal Rostecki --- .github/workflows/crossdev.yml | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/.github/workflows/crossdev.yml b/.github/workflows/crossdev.yml index 828aff9..5ffded8 100644 --- a/.github/workflows/crossdev.yml +++ b/.github/workflows/crossdev.yml @@ -17,9 +17,57 @@ jobs: target: - aarch64-unknown-linux-gnu - aarch64-unknown-linux-musl + - arm-unknown-linux-gnueabi + - arm-unknown-linux-gnueabihf + - arm-unknown-linux-musleabi + - arm-unknown-linux-musleabihf + - armv7-unknown-linux-gnueabi + - armv7-unknown-linux-gnueabihf + - mips-unknown-linux-gnu + - mips-unknown-linux-musl + - mipsel-unknown-linux-gnu + - mipsel-unknown-linux-musl + - mips64-unknown-linux-gnu + - mips64-unknown-linux-musl + - mips64el-unknown-linux-gnu + - mips64el-unknown-linux-musl + - powerpc-unknown-linux-gnu + - powerpc-unknown-linux-musl + - powerpc64-unknown-linux-gnu + - powerpc64-unknown-linux-musl + - riscv32-unknown-linux-gnu + - riscv32-unknown-linux-musl + - riscv64-unknown-linux-gnu + - riscv64-unknown-linux-musl + - sparc-unknown-linux-gnu + - sparc64-unknown-linux-gnu + - s390x-unknown-linux-gnu + - s390x-unknown-linux-musl + - x86_64-unknown-linux-gnu + - x86_64-unknown-linux-musl stage3: - latest # `openrc` (glibc+GCC) is tagged as `latest` - musl + # We exclude combinations which are known to be broken. + # Pull requests fixing them welcome! + exclude: + # glibc fails to build: `attempt to use an ARM instruction on a + # Thumb-only processor`. + - target: armv7-unknown-linux-gnueabi + - target: armv7-unknown-linux-gnueabihf + # libgcc_s.so fails to build: `cannot find crti.o: No such file or + # directory`. + - target: mips64-unknown-linux-musl + - target: mips64el-unknown-linux-musl + # busybox fails to buils: `‘SYS_settimeofday’ undeclared`. + - target: riscv32-unknown-linux-musl + stage3: musl + # glibc fails to build: `no support for pre-v8 sparc`. + - target: sparc-unknown-linux-gnu + # musl ebuilds don't support s390x. The target is supported upstream, + # we need to fix and test our ebuilds. + - target: s390x-unknown-linux-musl + fail-fast: false name: crossdev target=${{ matrix.target }} stage3=${{ matrix.stage3 }} runs-on: ubuntu-latest steps: