Skip to content

Use ARM runners#321

Merged
jo-sm merged 4 commits into
developfrom
use-arm-runners-for-cross
Jul 9, 2026
Merged

Use ARM runners#321
jo-sm merged 4 commits into
developfrom
use-arm-runners-for-cross

Conversation

@jo-sm

@jo-sm jo-sm commented Jul 6, 2026

Copy link
Copy Markdown
Member

This PR updates the linux and musllinux jobs to use ARM runners directly, rather than doing cross compilation.

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b232e307-94aa-4476-bbe4-9303d884d9c5

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch use-arm-runners-for-cross

Comment @coderabbitai help to get the list of available commands.

@jo-sm jo-sm changed the base branch from main to develop July 6, 2026 13:37
@tower tower deleted a comment from github-actions Bot Jul 6, 2026
@tower tower deleted a comment from github-actions Bot Jul 6, 2026
@tower tower deleted a comment from github-actions Bot Jul 6, 2026
@jo-sm jo-sm marked this pull request as ready for review July 6, 2026 13:41
@jo-sm jo-sm requested review from bradhe, konstantinoscs and socksy July 7, 2026 08:45

@konstantinoscs konstantinoscs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple of critical things we should fix here. Otherwise looks good to me

Comment thread .github/workflows/build-binaries.yml Outdated
. /tmp/venv/bin/activate
pip3 install dist/*.whl --force-reinstall
${{ env.EXECUTABLE_NAME }} --help
manylinux: auto

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should put this back to 2_28. I dug a bit on what auto means and it basically says "pick the lowest compatible/default manylinux setup". The logs for the CI on this PR show that this effectively downgraded us to 2_17. We moved to 2_28 on purpose at #277 for very good reasons so we should keep this

- uses: actions/checkout@v6
with:
submodules: recursive
persist-credentials: false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to keep this. persist-credentials runs with true by default and we don't want it here as subsequent steps run actual code and having a GITHUB token available to them is.... not good.

Comment thread .github/workflows/build-binaries.yml Outdated
Don't persist credentials
uses: PyO3/maturin-action@v1.50.1
with:
target: ${{ matrix.platform.target }}
manylinux: auto

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you moved the other jobs to 2_28 as well. I guess because of consistency. That's ok for me but the cost we're paying is that for those architectures, we're dropping older glibc users (e.g. someone on Ubuntu 18.04).

For the arm runner we need 2_28 because of the bug we have (again, in #277).
We don't techincally need the same for x64 and we could theoretically support older glibc users but I think being consistent is better for maintenability here. So I'd say leave it, I just wanted to point it out

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'd rather be consistent unless there's truly a need to have auto here. If it ends up causing issues for someone on an older version of Linux we can definitely revert this or pin to an older version.

Comment thread .github/workflows/build-binaries.yml Outdated
@jo-sm jo-sm merged commit 78e7584 into develop Jul 9, 2026
88 of 94 checks passed
@jo-sm jo-sm deleted the use-arm-runners-for-cross branch July 9, 2026 16:48
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