From e8beacc9cfe40fd029624f4611ac2de76d92f51c Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Fri, 14 Jul 2023 08:24:41 +0200 Subject: [PATCH] ci: add Debian RISC-V cross compile builds Signed-off-by: Krzysztof Kozlowski --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1459081..0a0490f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -148,6 +148,13 @@ jobs: mode: maintainer variant: cross-compile + - container: "debian:stable" + arch: riscv64 + compiler: riscv64-linux-gnu-gcc + cross_compile: riscv64-linux-gnu + mode: maintainer + variant: cross-compile + - container: "debian:stable" arch: s390x compiler: s390x-linux-gnu-gcc @@ -176,6 +183,13 @@ jobs: mode: maintainer variant: cross-compile + - container: "debian:bookworm" + arch: riscv64 + compiler: riscv64-linux-gnu-gcc + cross_compile: riscv64-linux-gnu + mode: maintainer + variant: cross-compile + - container: "debian:bookworm" arch: s390x compiler: s390x-linux-gnu-gcc @@ -204,6 +218,13 @@ jobs: mode: maintainer variant: cross-compile + - container: "debian:bullseye" + arch: riscv64 + compiler: riscv64-linux-gnu-gcc + cross_compile: riscv64-linux-gnu + mode: maintainer + variant: cross-compile + - container: "debian:bullseye" arch: s390x compiler: s390x-linux-gnu-gcc @@ -422,6 +443,7 @@ jobs: i386) ARCH_CHECK="Intel 80386";; ppc64el) ARCH_CHECK="64-bit PowerPC";; s390x) ARCH_CHECK="IBM S/390";; + riscv64) ARCH_CHECK="RISC-V";; *) ARCH_CHECK="x86-64";; esac echo "Checking for built matching architecture: $ARCH_CHECK"