Skip to content

Commit 6b4306c

Browse files
committed
ci: add riscv64 to wheel build matrix
1 parent c398a15 commit 6b4306c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
matrix:
7272
os: [ubuntu-latest, macos-latest, windows-latest]
73-
cibw_arch: ["auto64", "aarch64", "universal2"]
73+
cibw_arch: ["auto64", "aarch64", "universal2", "riscv64"]
7474
cibw_python:
7575
- "cp39"
7676
- "cp310"
@@ -87,6 +87,10 @@ jobs:
8787
cibw_arch: universal2
8888
- os: windows-latest
8989
cibw_arch: aarch64
90+
- os: macos-latest
91+
cibw_arch: riscv64
92+
- os: windows-latest
93+
cibw_arch: riscv64
9094

9195
defaults:
9296
run:
@@ -102,10 +106,10 @@ jobs:
102106
submodules: true
103107

104108
- name: Set up QEMU
105-
if: matrix.os == 'ubuntu-latest' && matrix.cibw_arch == 'aarch64'
109+
if: matrix.os == 'ubuntu-latest' && (matrix.cibw_arch == 'aarch64' || matrix.cibw_arch == 'riscv64')
106110
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
107111
with:
108-
platforms: arm64
112+
platforms: arm64,riscv64
109113

110114
- uses: pypa/cibuildwheel@7c619efba910c04005a835b110b057fc28fd6e93 # v3.2.0
111115
env:

0 commit comments

Comments
 (0)