ci: build each Linux arch in its own parallel job - #778
Open
dokson wants to merge 1 commit into
Open
Conversation
The bdist job built every Linux arch serially in one runner, with aarch64 compiled *and* fully tested under QEMU -- the slowest part. Split one-arch-per-job: x86_64+i686 native, aarch64 native on ubuntu-24.04-arm (no QEMU), riscv64 and armv7l each in their own QEMU job. Wall-clock is now the slowest single arch, not the sum.
dokson
marked this pull request as ready for review
June 7, 2026 10:21
Owner
|
This is a good one, I wanted to do this long time ago. |
Contributor
Author
|
@lexiforest I think you can merge this without any problem |
Contributor
Author
|
@lexiforest can you merge this one? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Linux
bdistjob builds every arch serially in one runner.aarch64is compiled and runs the full pytest suite under QEMU emulation, which is by far the slowest part.Split it one-arch-per-job so they run in parallel:
x86_64+i686andaarch64build natively (the latter onubuntu-24.04-arm, no QEMU), whileriscv64andarmv7lkeep their own emulated jobs. CI now waits only for the slowest arch instead of all of them in sequence.Checklist