From 18bb1fa0bea700fb7c03e566596853a52148abe4 Mon Sep 17 00:00:00 2001 From: funman300 Date: Tue, 7 Jul 2026 10:58:43 -0700 Subject: [PATCH] fix(ci): cap test-build debuginfo so the linker fits runner memory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two runs (447, 486) died with 'ld terminated with signal 9' linking the solitaire_engine test binary — the runner OOMs on full dev debuginfo for the Bevy dependency graph. line-tables-only preserves file:line panic backtraces at a fraction of the link footprint. Co-Authored-By: Claude Fable 5 --- .gitea/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 0593e8e..875603b 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -31,6 +31,13 @@ jobs: test: runs-on: ubuntu-latest + # Full debuginfo made the solitaire_engine test-binary link peak past the + # 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. + env: + CARGO_PROFILE_DEV_DEBUG: line-tables-only + steps: - name: Checkout uses: actions/checkout@v4