From 53649ab7783357be5ffa406aba925f3a16485584 Mon Sep 17 00:00:00 2001 From: Camden Moors Date: Tue, 30 Dec 2025 08:34:08 -0500 Subject: [PATCH 1/3] Add RISCV Target --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ca81af..4838bbe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,11 +36,20 @@ jobs: target: s390x - runner: ubuntu-22.04 target: ppc64le + - runner: ubuntu-22.04 + target: riscv64 steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: python-version: 3.x + + - name: Set up QEMU + if: matrix.platform.target == 'riscv64' + uses: docker/setup-qemu-action@v3 + with: + platforms: riscv64 + - name: Build wheels uses: PyO3/maturin-action@v1 with: From 4aaecf2eab751b57f79eac85fe5e184bdaf6339e Mon Sep 17 00:00:00 2001 From: Camden Moors Date: Tue, 30 Dec 2025 08:48:26 -0500 Subject: [PATCH 2/3] Set riscv64 target to riscv64gc-unknown-linux-gnu (not shortcut doesn't exist in maturin-action) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4838bbe..afea8bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: - runner: ubuntu-22.04 target: ppc64le - runner: ubuntu-22.04 - target: riscv64 + target: riscv64gc-unknown-linux-gnu steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 From 1167351cee3b7bf3247d3dd941db3e921fe5ec26 Mon Sep 17 00:00:00 2001 From: Camden Moors Date: Wed, 31 Dec 2025 08:36:44 -0500 Subject: [PATCH 3/3] Remove setup-qemu-action --- .github/workflows/ci.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afea8bb..a2f3159 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,12 +43,6 @@ jobs: - uses: actions/setup-python@v6 with: python-version: 3.x - - - name: Set up QEMU - if: matrix.platform.target == 'riscv64' - uses: docker/setup-qemu-action@v3 - with: - platforms: riscv64 - name: Build wheels uses: PyO3/maturin-action@v1