From 646dcf28a79afd4e916517874b6b38f6ead56e08 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Mon, 19 Jan 2026 10:55:37 -0500 Subject: [PATCH 1/2] workflows/CI: make platforms more explicit Signed-off-by: Trevor Gamblin --- .github/workflows/CI.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6e7937f..b252cf4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -62,20 +62,24 @@ jobs: needs: test strategy: matrix: - target: [x86_64, aarch64] + platforms: + - target: x86_64-unknown-linux-gnu + arch: x86_64 + - target: aarch64-unknown-linux-gnu + arch: aarch64 steps: - uses: actions/checkout@v4 - name: Build wheels uses: PyO3/maturin-action@v1 with: - target: ${{ matrix.target }} + target: ${{ matrix.platforms.target }} args: --release --out dist sccache: 'true' manylinux: auto - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels-linux-${{ matrix.target }} + name: wheels-linux-${{ matrix.platforms.arch }} path: dist windows: From 72b33577ef8d573a2d75e96499e03614912e90ee Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Mon, 19 Jan 2026 11:01:53 -0500 Subject: [PATCH 2/2] workflows/CI: add riscv64 maturin supports the architecture for cross-compilation, so add it. 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 b252cf4..c72870f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -67,6 +67,8 @@ jobs: arch: x86_64 - target: aarch64-unknown-linux-gnu arch: aarch64 + - target: riscv64gc-unknown-linux-gnu + arch: riscv64 steps: - uses: actions/checkout@v4 - name: Build wheels