Skip to content

ci: add riscv64 target to linux wheel build matrix#237

Open
gounthar wants to merge 1 commit intopydantic:mainfrom
gounthar:feat/add-riscv64-wheel
Open

ci: add riscv64 target to linux wheel build matrix#237
gounthar wants to merge 1 commit intopydantic:mainfrom
gounthar:feat/add-riscv64-wheel

Conversation

@gounthar
Copy link

Summary

Add riscv64 to the maturin-action linux build matrix so that linux_riscv64 wheels are built and published to PyPI.

maturin-action cross-compiles via riscv64gc-unknown-linux-gnu cargo target — no QEMU or additional infrastructure needed.

Evidence

Context

  • riscv64gc-unknown-linux-gnu is a Rust tier-2 target with std available
  • maturin-action handles cross-compilation transparently
  • Sibling project pydantic-core already has riscv64 support merged (pydantic/pydantic#12723)

Fixes #236

@codecov
Copy link

codecov bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 12, 2026

Merging this PR will not alter performance

✅ 70 untouched benchmarks


Comparing gounthar:feat/add-riscv64-wheel (03ddad8) with main (312d268)

Open in CodSpeed

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.

Add riscv64 (linux_riscv64) wheel to PyPI releases

1 participant