From b767ea2041311e5ad9f2bc8819e952e4c9549d44 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Fri, 16 Jan 2026 10:23:19 -0500 Subject: [PATCH 1/4] workflows/CI: make cross platforms more explicit Signed-off-by: Trevor Gamblin --- .github/workflows/CI.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ed6db96..bcaff4c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -150,7 +150,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - target: [aarch64, armv7, s390x, ppc64le, ppc64] + platform: + - target: aarch64-unknown-linux-gnu + arch: aarch64 + - target: armv7-unknown-linux-gnueabihf + arch: armv7 + - target: s390x-unknown-linux-gnu + arch: s390x + - target: powerpc64le-unknown-linux-gnu + arch: ppc64le + - target: powerpc64-unknown-linux-gnu + arch: ppc64 steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 @@ -160,7 +170,7 @@ jobs: uses: pyo3/maturin-action@v1 with: rust-toolchain: nightly - target: ${{ matrix.target }} + target: ${{ matrix.platform.target }} manylinux: auto args: --release --out dist sccache: true @@ -168,15 +178,15 @@ jobs: uses: pyo3/maturin-action@v1 with: rust-toolchain: nightly - target: ${{ matrix.target }} + target: ${{ matrix.platform.target }} manylinux: auto args: --release --out dist -i python3.13 sccache: true - uses: uraimo/run-on-arch-action@v3.0.1 - if: matrix.target != 'ppc64' + if: matrix.platform.arch != 'ppc64' name: Install built wheel with: - arch: ${{ matrix.target }} + arch: ${{ matrix.platform.arch }} distro: ubuntu22.04 githubToken: ${{ github.token }} install: | @@ -189,7 +199,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v6 with: - name: wheels-linux-${{ matrix.target }} + name: wheels-linux-${{ matrix.platform.arch }} path: dist musllinux: From 31af1c2c5fe53bda701a17df03947c8601e8730c Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Fri, 16 Jan 2026 11:18:41 -0500 Subject: [PATCH 2/4] workflows/CI: add riscv64 Signed-off-by: Trevor Gamblin --- .github/workflows/CI.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index bcaff4c..ac4a1db 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -161,6 +161,8 @@ jobs: arch: ppc64le - target: powerpc64-unknown-linux-gnu arch: ppc64 + - target: riscv64gc-unknown-linux-gnu + arch: riscv64 steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 From 0891b61fa0a08b9bd81086782d936d0d3fb4f8e1 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Mon, 19 Jan 2026 09:53:28 -0500 Subject: [PATCH 3/4] workflows/CI: add riscv64 for musl Signed-off-by: Trevor Gamblin --- .github/workflows/CI.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ac4a1db..db3964f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -259,6 +259,8 @@ jobs: arch: aarch64 - target: armv7-unknown-linux-musleabihf arch: armv7 + - target: riscv64gc-unknown-linux-musl + arch: riscv64 steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 @@ -295,7 +297,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v6 with: - name: wheels-${{ matrix.platform.target }} + name: wheels-${{ matrix.platform.arch }} path: dist sdist: From 4c3b9fe9a3afd3a268243a35d10976acf3ea0bb3 Mon Sep 17 00:00:00 2001 From: messense Date: Wed, 21 Jan 2026 08:16:46 +0800 Subject: [PATCH 4/4] Apply suggestion from @messense --- .github/workflows/CI.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index db3964f..b4a3354 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -259,8 +259,6 @@ jobs: arch: aarch64 - target: armv7-unknown-linux-musleabihf arch: armv7 - - target: riscv64gc-unknown-linux-musl - arch: riscv64 steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6