Skip to content

ci: move more jobs to macOS arm#4600

Merged
davidhewitt merged 1 commit into
PyO3:mainfrom
davidhewitt:more-macos-arm
Oct 5, 2024
Merged

ci: move more jobs to macOS arm#4600
davidhewitt merged 1 commit into
PyO3:mainfrom
davidhewitt:more-macos-arm

Conversation

@davidhewitt

Copy link
Copy Markdown
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
Copy Markdown
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
@davidhewitt davidhewitt deleted the more-macos-arm branch October 5, 2024 09:02
davidhewitt added a commit that referenced this pull request Oct 11, 2024
davidhewitt added a commit that referenced this pull request Oct 12, 2024
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