From fda5b769e29056cada4dd62633540c0a11d36ae9 Mon Sep 17 00:00:00 2001 From: Julien Stephan Date: Thu, 12 Nov 2026 09:42:31 +0000 Subject: [PATCH] ci: build and test riscv64 wheels Now that cibuildwheel and PyPI support riscv64, we can start building riscv64 wheels. Integrated in the same way as the other emulated architecture (aarch64), running on the x86_64 runner via QEMU emulation. Signed-off-by: Julien Stephan --- .github/workflows/build.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9152227..391b0fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: make requirements - - name: Set up QEMU # Needed to build aarch64 wheels + - name: Set up QEMU # Needed to build aarch64 and riscv64 wheels if: runner.os == 'Linux' uses: docker/setup-qemu-action@v3 with: diff --git a/pyproject.toml b/pyproject.toml index cb41b46..7509bf8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,7 @@ manylinux-x86_64-image = "manylinux_2_28" manylinux-aarch64-image = "manylinux_2_28" [tool.cibuildwheel.linux] -archs = ["x86_64", "aarch64"] +archs = ["x86_64", "aarch64", "riscv64"] [tool.cibuildwheel.macos] archs = ["x86_64", "universal2", "arm64"]