Skip to content

Commit e39bbcf

Browse files
committed
Serialize the modular build in CI
Hopefully, this will make the ICEs less frequent.
1 parent fdf5453 commit e39bbcf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.cpu.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ jobs:
124124
;
125125
126126
# Compile
127-
cmake --build build -v -j 512;
127+
# Run a serial build if we're building the modular build because it tends
128+
# to result in fewer Clang ICEs.
129+
cmake --build build -v -j ${{ contains(matrix.name, 'modules') && 1 || 512 }};
128130
129131
# Print sccache stats
130132
sccache -s;

0 commit comments

Comments
 (0)