Skip to content

ci: add riscv64 binary wheel builds - #284

Open
gounthar wants to merge 1 commit into
hukkin:masterfrom
gounthar:feat/riscv64-wheels
Open

gounthar wants to merge 1 commit into
hukkin:masterfrom
gounthar:feat/riscv64-wheels

Conversation

@gounthar

@gounthar gounthar commented Mar 18, 2026 •

Copy link
Copy Markdown

What does this change?

Add riscv64 to the binary wheel build matrix using QEMU emulation on ubuntu-latest, so that mypyc-compiled riscv64 wheels are built alongside existing architectures.

Changes

  • Add riscv64 matrix entry with QEMU setup step
  • Add CIBW_ARCHS_LINUX override for riscv64

Evidence

  • Built successfully from source on native riscv64 hardware (BananaPi F3, SpacemiT K1, rv64gc)

Note: this work is part of the RISE Project effort to improve Python ecosystem support on riscv64 platforms. Native riscv64 CI runners are available for free via RISE RISC-V runners.

@codecov

codecov Bot commented Mar 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (43a86ad) to head (554403e).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #284   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          535       535           
  Branches       100       100           
=========================================
  Hits           535       535           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@threexc

threexc commented Nov 10, 2026

Copy link
Copy Markdown

@gounthar can you rebase this?

Add a riscv64 entry to the binary-wheels matrix, built on ubuntu-latest
under QEMU with cibuildwheel, so mypyc-compiled riscv64 wheels are
produced next to the existing ones.

The riscv64 entry shares runs-on with the x86_64 Linux build, so the
artifact name and job name now include the arch to keep them distinct.
setup-qemu-action is pinned by SHA like the other actions.

Signed-off-by: Bruno Verachten <gounthar@gmail.com>
@gounthar
gounthar force-pushed the feat/riscv64-wheels branch from 6d987f6 to 554403e Compare November 10, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants