Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Debian cross compiling for RISC-V #4

Merged
merged 3 commits into from
Jun 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 21 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ jobs:
- ubuntu:mantic
- ubuntu:jammy
- ubuntu:focal
- ubuntu:bionic
- ubuntu:xenial
cross_compile: [""]
mode: [maintainer, no-maintainer]
variant: [""]
Expand Down Expand Up @@ -129,52 +127,31 @@ jobs:
variant: i386

# Debian cross compilation builds
- container: "debian:testing"
- container: "debian:stable"
arch: armhf
compiler: arm-linux-gnueabihf-gcc
cross_compile: arm-linux-gnueabihf
mode: maintainer
variant: cross-compile

- container: "debian:testing"
- container: "debian:stable"
arch: arm64
compiler: aarch64-linux-gnu-gcc
cross_compile: aarch64-linux-gnu
mode: maintainer
variant: cross-compile

- container: "debian:testing"
- container: "debian:stable"
arch: ppc64el
compiler: powerpc64le-linux-gnu-gcc
cross_compile: powerpc64le-linux-gnu
mode: maintainer
variant: cross-compile

- container: "debian:testing"
arch: s390x
compiler: s390x-linux-gnu-gcc
cross_compile: s390x-linux-gnu
mode: maintainer
variant: cross-compile

- container: "debian:stable"
arch: armhf
compiler: arm-linux-gnueabihf-gcc
cross_compile: arm-linux-gnueabihf
mode: maintainer
variant: cross-compile

- container: "debian:stable"
arch: arm64
compiler: aarch64-linux-gnu-gcc
cross_compile: aarch64-linux-gnu
mode: maintainer
variant: cross-compile

- container: "debian:stable"
arch: ppc64el
compiler: powerpc64le-linux-gnu-gcc
cross_compile: powerpc64le-linux-gnu
arch: riscv64
compiler: riscv64-linux-gnu-gcc
cross_compile: riscv64-linux-gnu
mode: maintainer
variant: cross-compile

Expand Down Expand Up @@ -206,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 @@ -234,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 @@ -452,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
Loading