Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: build aarch64 wheel on GHA aarch64 runner #2503

Merged
merged 4 commits into from
Feb 2, 2025

Conversation

mayeut
Copy link
Contributor

@mayeut mayeut commented Feb 1, 2025

Summary

  • OS: Linux
  • Bug fix: no
  • Type: wheels
  • Fixes:

Description

Update CI workflows to build and test Linux aarch64 on native aarch64 runners instead of using QEMU.
The build/test time for aarch64 goes from 8 minutes (testing on 2 python versions) to 3 minutes (testing all python versions).

This also fixes testing wheels being built in CI:
#2447 changed the way tests were run and we can see psutil gets rebuilt before testing rather than using the just built wheel in the logs: https://github.com/giampaolo/psutil/actions/runs/13076760479/job/36490726448#step:6:655)

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: mayeut <mayeut@users.noreply.github.com>
@mayeut
Copy link
Contributor Author

mayeut commented Feb 1, 2025

The newly skipped tests were already mentioned in #2425

Copy link
Owner

@giampaolo giampaolo left a comment

Choose a reason for hiding this comment

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

Hi. Thanks.
If no longer used, can we remove psutil.tests.QEMU_USER?

Signed-off-by: mayeut <mayeut@users.noreply.github.com>

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Signed-off-by: mayeut <mayeut@users.noreply.github.com>
@mayeut
Copy link
Contributor Author

mayeut commented Feb 2, 2025

If no longer used, can we remove psutil.tests.QEMU_USER?

Done. It could be used downstream but not here anymore.

@giampaolo giampaolo merged commit 17e2780 into giampaolo:master Feb 2, 2025
17 checks passed
@mayeut mayeut deleted the gha-arm branch February 2, 2025 08:53
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.

None yet

2 participants