Skip to content

Commit 1a25a0f

Browse files
committed
github: Switch macos jobs to macos-14 runners explicitly
For some unknown reason, macos-15 runners (which macos-latest resolves to currently) seem to be consistently 25-40% slower than macos-14 runners; the "macos" job (doing an universal binary build for 2 architectures, with LTO) often take over 5 hours, and have reached the 6 hour timeout once. Switch this back to macos-14 to speed it up and reduce the risk of hitting the timeout. In the future, if/when the macos-14 runners are phased out, and if the performance reduction in macos-15 runners remains, we'd need to switch to building each architecture in a separate job, and merge them together separately if we still want to provide universal binaries.
1 parent 096033f commit 1a25a0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ jobs:
258258

259259
macos-stage1:
260260
needs: [prepare]
261-
runs-on: macos-latest
261+
runs-on: macos-14
262262
steps:
263263
- uses: actions/checkout@v4
264264
- name: Build
@@ -287,7 +287,7 @@ jobs:
287287
# Build a cross compiler for macOS, targeting Windows.
288288
macos:
289289
needs: [prepare, macos-stage1, linux-profile]
290-
runs-on: macos-latest
290+
runs-on: macos-14
291291
steps:
292292
- uses: actions/checkout@v4
293293
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)