Skip to content

Commit 0fe0ed0

Browse files
committed
ci: add riscv64 to the wheel build matrix
Add manylinux_riscv64 to the buildplat matrix with QEMU emulation on ubuntu-22.04 for cross-architecture builds. Closes numpy#30216
1 parent f234b97 commit 0fe0ed0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/wheels.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
- [ubuntu-22.04, musllinux_x86_64, ""]
4040
- [ubuntu-22.04-arm, manylinux_aarch64, ""]
4141
- [ubuntu-22.04-arm, musllinux_aarch64, ""]
42+
- [ubuntu-22.04, manylinux_riscv64, ""]
4243
- [macos-15-intel, macosx_x86_64, openblas]
4344
- [macos-14, macosx_arm64, openblas]
4445
- [windows-2022, win_amd64, ""]
@@ -48,6 +49,12 @@ jobs:
4849
env:
4950
IS_32_BIT: ${{ matrix.buildplat[1] == 'win32' }} # used in cibw_test_command.sh
5051
steps:
52+
- name: Set up QEMU
53+
if: matrix.buildplat[1] == 'manylinux_riscv64'
54+
uses: docker/setup-qemu-action@v3
55+
with:
56+
platforms: linux/riscv64
57+
5158
- name: Checkout numpy
5259
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5360
with:

0 commit comments

Comments
 (0)