Skip to content

Commit 1c6946d

Browse files
authored
ci: add riscv64 to wheel build matrix (#137)
Signed-off-by: Bruno Verachten <gounthar@gmail.com>
1 parent cf10ce6 commit 1c6946d

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 8 additions & 4 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"
@@ -88,6 +88,10 @@ jobs:
8888
cibw_arch: universal2
8989
- os: windows-latest
9090
cibw_arch: aarch64
91+
- os: macos-latest
92+
cibw_arch: riscv64
93+
- os: windows-latest
94+
cibw_arch: riscv64
9195

9296
defaults:
9397
run:
@@ -103,10 +107,10 @@ jobs:
103107
submodules: true
104108

105109
- name: Set up QEMU
106-
if: matrix.os == 'ubuntu-latest' && matrix.cibw_arch == 'aarch64'
107-
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
110+
if: matrix.os == 'ubuntu-latest' && (matrix.cibw_arch == 'aarch64' || matrix.cibw_arch == 'riscv64')
111+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
108112
with:
109-
platforms: arm64
113+
platforms: arm64,riscv64
110114

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

0 commit comments

Comments
 (0)