Skip to content

Commit e11ca59

Browse files
authored
[libc++] Shuffle the order of pre-commit CI jobs a bit (#128008)
I've recently noticed that our CI is bottlenecked around platforms on which we don't have a lot of capacity like macOS (mostly) and Windows. To try to alleviate that, this patch moves the macOS builds and the Windows builds further down the pipeline so that they will get triggered less often (if an earlier job fails).
1 parent 884b79a commit e11ca59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/libcxx-build-and-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
**/crash_diagnostics/*
125125
stage3:
126126
if: github.repository_owner == 'llvm'
127-
needs: [ stage1, stage2 ]
127+
needs: [ stage2 ]
128128
continue-on-error: false
129129
strategy:
130130
fail-fast: false
@@ -188,7 +188,7 @@ jobs:
188188
**/crash_diagnostics/*
189189
190190
macos:
191-
needs: [ stage1 ]
191+
needs: [ stage3 ]
192192
strategy:
193193
fail-fast: false
194194
matrix:
@@ -232,7 +232,7 @@ jobs:
232232
233233
windows:
234234
runs-on: windows-2022
235-
needs: [ stage1 ]
235+
needs: [ stage2 ]
236236
strategy:
237237
fail-fast: false
238238
matrix:

0 commit comments

Comments
 (0)