From bc1505a3f80a22c90d72c9f8c2784abba68b17dd Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Wed, 18 Feb 2026 16:09:54 -0500 Subject: [PATCH 1/2] workflows/CI: fully specify rustc targets For Linux builds, distinguish between 'target' and 'arch', since the two are not always the same (e.g. the target for ppc64le is actually powerpc64le-unknown-linux-gnu). This allows more explicit support for other platforms when needed. Signed-off-by: Trevor Gamblin --- .github/workflows/CI.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7ebcf4c..f33b6ac 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -25,17 +25,23 @@ jobs: matrix: platform: - runner: ubuntu-22.04 - target: x86_64 + target: x86_64-unknown-linux-gnu + arch: x86_64 - runner: ubuntu-22.04 - target: x86 + target: i686-unknown-linux-gnu + arch: x86 - runner: ubuntu-22.04 - target: aarch64 + target: aarch64-unknown-linux-gnu + arch: aarch64 - runner: ubuntu-22.04 - target: armv7 + target: armv7-unknown-linux-gnueabihf + arch: armv7 # - runner: ubuntu-22.04 - # target: s390x + # target: s390x-unknown-linux-gnu + # arch: s390x - runner: ubuntu-22.04 - target: ppc64le + target: powerpc64le-unknown-linux-gnu + arch: ppc64le steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -76,7 +82,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels-linux-${{ matrix.platform.target }} + name: wheels-linux-${{ matrix.platform.arch }} path: dist musllinux: From 38d86cebaf061ba4368ba75a4be753af70f8ee76 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Wed, 18 Feb 2026 16:12:01 -0500 Subject: [PATCH 2/2] workflows/CI: add riscv64 Note that the 'target' and 'arch' values here are different - arch is riscv64, but the actual rustc target is riscv64gc-unknown-linux-gnu, hence the previous change. Signed-off-by: Trevor Gamblin --- .github/workflows/CI.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f33b6ac..8775f27 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -42,6 +42,9 @@ jobs: - runner: ubuntu-22.04 target: powerpc64le-unknown-linux-gnu arch: ppc64le + - runner: ubuntu-22.04 + target: riscv64gc-unknown-linux-gnu + arch: riscv64 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5