Skip to content

CI: make target matrix more explicit bump musllinux version, add riscv64 builds - #266

Merged
dimastbk merged 4 commits into
dimastbk:masterfrom
threexc:riscv64
Nov 27, 2026
Merged

dimastbk merged 4 commits into
dimastbk:masterfrom
threexc:riscv64

Conversation

@threexc

@threexc threexc commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor
  1. Distinguish between target and arch for each entry in the build matrix (Windows/Mac get duplicates as they're the same there, but not for Linux)
  2. Update to musllinux_1_2 everywhere, since 1_1 is EOL
  3. Add riscv64 builds, since Rust/Maturin supports them

I've tested this on my fork. All builds passed except for the x86 one, which seems to be experiencing a connectivity issue with the CentOS vault mirror.

This work is being performed on behalf of RISE, using the Python Wheels Dashboard to track RISC-V support across the Python ecosystem.

Summary by CodeRabbit

  • New Features
    • Linux builds now include riscv64 support for both glibc and musl environments.
  • Compatibility
    • musllinux packages now use the musllinux 1.2 baseline.

Distinguish between 'target' (the toolchain triple) and 'arch' (the
platform shorthand) since the two are not always the same, e.g. for
i686, ppc64le, and riscv64. Define values for Windows and Mac builds,
but make them identical since this is the case for them.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
musllinux_1_1 has been EOL since 2024:

https://github.com/pypa/manylinux#musllinux_1_1-alpine-linux-312-based---eol

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 20c5aed5-819a-45e7-8ba9-cd3ceb5fa07d
Commits

Reviewing files that changed from the base of the PR and between d158fc0 and e1b2003.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The CI workflow separates Rust target triples from architecture labels. It adds RISC-V Linux build entries, updates musllinux targets, and uses architecture labels for build names, sdist selection, and artifact names.

Changes: CI build matrix

Layer / File(s) Summary
Build matrix and workflow outputs
.github/workflows/CI.yml
Linux matrix entries use Rust target triples and architecture labels. The matrix adds RISC-V entries and updates musllinux targets to musllinux_1_2. Build names, sdist selection, and artifact names use architecture labels.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Suggested reviewers: dimastbk

Merge Risk: Minimal · previous review d158f

This change updates CI build labels, moves musl builds to musllinux_1_2, and adds riscv64 wheel builds. It does not touch runtime library code. No merge-blocking risk was identified, and the CI run itself will confirm the new matrix entries.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the two main changes: the CI build matrix is made more explicit (separating target from arch), the musllinux version is bumped, and riscv64 builds are added. The raw summary confirms e…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the two main changes: the CI build matrix is made more explicit (separating target from arch), the musllinux version is bumped, and riscv64 builds are added. The raw summary confirms each of these changes in .github/workflows/CI.yml. The title is slightly long at 79 characters, but it is specific and relevant to the changeset.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the build matrix at dawn,
New Linux targets join the list.
Architecture labels guide each artifact,
While musllinux steps ahead.
The workflow hops through green checks,
And the rabbit nibbles clover.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 211350ec-7a42-42b3-8754-9b9614db0d37
Commits

Reviewing files that changed from the base of the PR and between 4a2b067 and d158fc0.

Files selected for processing: 1

  • .github/workflows/CI.yml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@dimastbk

Copy link
Copy Markdown
Owner

Thanks!

@dimastbk
dimastbk merged commit 193aa8a into dimastbk:master Nov 27, 2026
106 of 109 checks passed
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