Skip to content

Commit 2e301dc

Browse files
secupclaude
andcommitted
ci: cap Windows test build at --parallel 2 — vcpkg z-applocal DLL-copy race in the shared output dir (run 28949911161)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019btwFxDt7D19SZSqPYvZnk
1 parent ff28c14 commit 2e301dc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/build-matrix.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,12 @@ jobs:
144144

145145
- name: Build Tests (Windows)
146146
if: runner.os == 'Windows'
147-
run: cmake --build build --config Debug --parallel
147+
# --parallel 2: vcpkg's z-applocal post-build step copies the SAME
148+
# runtime DLLs into the shared tests/Debug output dir for every test
149+
# target — at full parallelism two copies collide ("file is being used
150+
# by another process", run 28949911161). Two concurrent post-builds
151+
# make the race effectively improbable; same bound as Linux.
152+
run: cmake --build build --config Debug --parallel 2
148153

149154
- name: Run CTest (Linux/macOS)
150155
if: runner.os != 'Windows'

0 commit comments

Comments
 (0)