-
Notifications
You must be signed in to change notification settings - Fork 5.8k
chore(ci): Speed up macOS builds by using larger runner #5234
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
base: main
Are you sure you want to change the base?
Conversation
36cd3fa
to
ebfa879
Compare
64fdc74
to
5810975
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
codex/.github/workflows/rust-release.yml
Lines 103 to 105 in 5810975
- if: ${{ matrix.runner == 'macos-14' }} | |
name: Configure Apple code signing | |
shell: bash |
The matrix now schedules mac builds on macos-15-xlarge
, but the downstream steps for configuring code signing, signing, notarization, and keychain cleanup still check matrix.runner == 'macos-14'
. Because that condition is never true anymore, none of the signing/notarization steps execute and macOS release artifacts will be unsigned and unnotarized. Update the condition (and the related ones later in the job) to match the new runner label or to detect macOS runners more generally so the signing process continues to run.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting
- runner: macos-15-xlarge | ||
target: aarch64-apple-darwin | ||
- runner: macos-14 | ||
- runner: macos-15-xlarge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will also need to update the runner checks below (i.e. code sign step) from macos-14
to macos-15-xlarge
too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update runner checks below to use macos-15-xlarge
too.
Saves about 2min per build
https://github.com/openai/codex/actions/runs/18544852356/job/52860637804 vs
https://github.com/openai/codex/actions/runs/18545106208/job/52861427485