From 168cbe98f894cd7bfc5f92234d329fff3109d3b2 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar Date: Fri, 6 Nov 2026 21:05:29 +0000 Subject: [PATCH] ci: build the dashboard tests one rustc at a time (#933) --- .gitea/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index edd5264..72a7aed 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -151,9 +151,16 @@ jobs: # compliance-core's integration tests need no services. - name: Tests (core integration) run: cargo test -p compliance-core --tests + # The dashboard crate compiles as the library and as its test harness at + # once, each rustc at about 1.65 GB: two of them exceed the job's 3 GiB + # and get OOM-killed (signal 9). One at a time for these two steps. - name: Tests (dashboard server) + env: + CARGO_BUILD_JOBS: "1" run: cargo test -p compliance-dashboard --features server --no-default-features - name: Tests (dashboard web) + env: + CARGO_BUILD_JOBS: "1" run: cargo test -p compliance-dashboard --features web --no-default-features - name: Show sccache stats