Skip to content

ci: build aarch64 wheel on GHA aarch64 runner#2503

Merged
giampaolo merged 4 commits intogiampaolo:masterfrom
mayeut:gha-arm
Feb 2, 2025
Merged

ci: build aarch64 wheel on GHA aarch64 runner#2503
giampaolo merged 4 commits intogiampaolo:masterfrom
mayeut:gha-arm

Conversation

@mayeut
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

mayeut commented Feb 1, 2025

The newly skipped tests were already mentioned in #2425

Copy link
Copy Markdown
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?

Comment thread Makefile Outdated
Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: mayeut <mayeut@users.noreply.github.com>
@mayeut
Copy link
Copy Markdown
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
@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.

2 participants