-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: add new github macos-14 builders #22461
Conversation
I converted this to draft because a simple fix is doing this:
|
Ok, it appears this will depend on https://github.com/macports/macports-ci-files/blob/main/.github/workflows/main.yml being changed too - I'll put up a PR for that. |
Do we want to keep MacOS 11 in the runners? It is no longer getting security updates etc. |
That's a good question. The buildbot has everything going back to the beginning of time, so it might be safer to ditch it. |
The more systems we can test on in CI, the better, no? |
It's better to keep all build machines while official support is ongoing. They use only GitHub infrastructure and don't require payment |
Oh: https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
|
I need to update the list of allowed IP address ranges on the private server, and automate that while I'm at it. |
3400270
to
198fcd4
Compare
Keeping in draft until it works - which I think is just waiting on IP changes? Also, I assume we would like to fix this warning:
by updating to |
The new IP address ranges are already in use by the existing runners so fixing that needn't prevent this from being merged. Until I fix the IP allow list on the private server, it'll just mean that the runners have to build any nondistributable ports from source, if they happen to be using one of those new IPs. The reason why it's not a simple change is that I had been using a few allow rules for the IP addresses I had observed being in use before, but now that I want to use the official GitHub API for determining their IP addresses I see that there are over 3,500 IP address ranges used for Actions runners and I don't think it is designed to accommodate that many allow rules. Even if I limit it to the 450 or so IP address ranges that I suspect are the ones used for macOS runners, that's still a lot and I want to switch to a different method. |
Oh, ok - so that's not the cause of the failure maybe then? I'll play around. |
I figured it out - macports-ci-files doesn't have files for major number 23 - that's the 404s - but they're async so they threw me off. @jmroot I can't push the button on those actions, can you? And I can update bootstrap.sh to 2.9.1 so 2.9.1-23 will be available for download. |
- remove deprecated macos-11 builder - add new arm64 macos-14 builder - change MACPORTS_VERSION to 2.9.1 so job will succeed
96afa55
to
90844a9
Compare
I was going to update the CI config next week, as per https://github.com/macports/macports-base/blob/master/portmgr/ReleaseProcess.md#use-of-new-features-in-portfiles |
This could wait - should just be ready to go then. I could also fix it for 2.9.0 major 23 but it doesn't seem like it's worth it. |
Description
Add the newly available macOS 14 builders to main.yml
Type(s)
Tested on
macOS 14
Verification
Have you