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: move more jobs to macOS arm #4600

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

davidhewitt
Copy link
Member

Our CI is running slow today, so time to try to optimize a bit!

One thing I noticed is that the macos-13 runners were lagging behind everything else. The arm runners (macos-latest) are much faster than the older macos-13 runners, so let's move jobs over.

The idea here is to make x64 macOS like 32-bit Windows, where we'll only test it on the latest Python version.

There's a bit of a caveat: for 3.7-3.9, the arm runners don't support those Python versions, so I also manually patch those over to x64 macOS. (We can drop that as we drop those older versions.)

@davidhewitt davidhewitt added CI-build-full CI-skip-changelog Skip checking changelog entry labels Oct 4, 2024
@davidhewitt
Copy link
Member Author

3.10 macos (arm) job took just over 6 minutes while the 3.9 x64 took nearly 22...

I'll merge this to at least minimise load on the x64 macos runners, we can hope for a future when we one day drop 3.9 support 😂

@davidhewitt davidhewitt added this pull request to the merge queue Oct 5, 2024
Merged via the queue into PyO3:main with commit d03d102 Oct 5, 2024
77 of 79 checks passed
@davidhewitt davidhewitt deleted the more-macos-arm branch October 5, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-build-full CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant