diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 25f1e13..73f51ed 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -35,8 +35,15 @@ jobs: # runner's memory — ld was OOM-killed (signal 9) on runs 447 and 486. # line-tables-only keeps file:line in panic backtraces while cutting the # link's memory footprint enough to fit the runner. + # + # CARGO_BUILD_JOBS=2: with one job per core, cargo links several large + # test binaries concurrently; as the workspace grew (runs 514/516/519) + # two+ simultaneous ld processes OOM-killed the runner again even at + # line-tables-only. Two jobs keeps at most two links in flight — the + # compile-throughput cost is small next to the cache-warm build. env: CARGO_PROFILE_DEV_DEBUG: line-tables-only + CARGO_BUILD_JOBS: '2' steps: - name: Checkout