diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-29 20:06:24 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-29 20:06:24 -0500 |
| commit | d2befefad70eb5de8f7e1bbdf547a971b4dabec7 (patch) | |
| tree | a6365bc8b7fee6cc3491d3c65df48bf82648dea5 | |
| parent | 3209231b3d4f752c131159dc50ce17dee0b4b24a (diff) | |
ci(runtime): keep windows ctest serial to avoid 4-vCPU starvation in xmem/silent_audio
| -rw-r--r-- | .github/workflows/runtime.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index cb2f687fc..d286f73e5 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml | |||
| @@ -344,8 +344,10 @@ jobs: | |||
| 344 | if-no-files-found: error | 344 | if-no-files-found: error |
| 345 | # --timeout: a test without a TIMEOUT of its own fails after 5 min instead of the CTest default of 25, which | 345 | # --timeout: a test without a TIMEOUT of its own fails after 5 min instead of the CTest default of 25, which |
| 346 | # is longer than the job. The slowest on Linux and macOS (xdxr_build_check) takes 50 and 106 s. | 346 | # is longer than the job. The slowest on Linux and macOS (xdxr_build_check) takes 50 and 106 s. |
| 347 | # Keep ctest serial on windows-latest: concurrent scheduling starves real-time/thread-timing checks | ||
| 348 | # (silent_audio, xmem) on 4-vCPU runners, while serial ctest completes in ~2 min. | ||
| 347 | - name: CPU runtime tests | 349 | - name: CPU runtime tests |
| 348 | run: ctest --test-dir runtime/build --output-on-failure --timeout 300 --parallel 4 | 350 | run: ctest --test-dir runtime/build --output-on-failure --timeout 300 |
| 349 | 351 | ||
| 350 | # Runs the Windows build's tests under Wine, so a change that breaks the loader on Linux (through Wine or Proton) | 352 | # Runs the Windows build's tests under Wine, so a change that breaks the loader on Linux (through Wine or Proton) |
| 351 | # shows up. The required ones are the loader and the stand-in game run end to end; the table in the job summary | 353 | # shows up. The required ones are the loader and the stand-in game run end to end; the table in the job summary |