Commit a955ae2
committed
ci: add riscv64 wheel builds using RISE native runners
Add manylinux_riscv64 to the wheel build matrix using native riscv64
runners (ubuntu-24.04-riscv) provided by the RISE RISC-V Software
Ecosystem project, instead of QEMU emulation.
Build time: ~3.5 minutes on native hardware vs ~38 minutes under QEMU.
Changes:
- Add [ubuntu-24.04-riscv, manylinux_riscv64, ""] to build matrix
- Use manylinux_2_39 image for riscv64 (2_28 has no riscv64 support)
- Install cibuildwheel 3.4.0 directly (actions/setup-python lacks
riscv64 pre-built binaries, cibuildwheel action calls it internally)
- Use smoke test for riscv64 (full pytest-xdist has a known test
collection ordering issue unrelated to riscv64)
Tested on riseproject-dev/numpy fork with RISE runners:
riseproject-dev#1
Thanks to Ludovic Henry and the RISE project for providing native
riscv64 CI runners.
Signed-off-by: Bruno Verachten <gounthar@gmail.com>1 parent 621413b commit a955ae2
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| |||
99 | 106 | | |
100 | 107 | | |
101 | 108 | | |
| 109 | + | |
102 | 110 | | |
103 | 111 | | |
104 | 112 | | |
105 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
106 | 121 | | |
107 | 122 | | |
108 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
205 | 206 | | |
206 | 207 | | |
207 | 208 | | |
| |||
0 commit comments