Skip to content

Commit

Permalink
ci: add Debian RISC-V cross compile builds
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Kozlowski <[email protected]>
  • Loading branch information
krzk committed Jun 24, 2024
1 parent d89e148 commit e8beacc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit e8beacc

Please sign in to comment.