From a3045b83a6eea3b12d907d2cfce1b7de72377748 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Fri, 26 Jan 2024 17:29:50 -0800 Subject: [PATCH] .github: fallback on rebuild-testbench -j 1 when failing Parallel builds are fast but they bury errors, for instance good luck finding the cause of this failure: https://github.com/thesofproject/sof/actions/runs/7667629748/job/20897861756?pr=8019 Use the well known technique of falling back on a single thread when failing. Signed-off-by: Marc Herbert --- .github/workflows/testbench.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testbench.yml b/.github/workflows/testbench.yml index 69fdd1b1d..259de2c44 100644 --- a/.github/workflows/testbench.yml +++ b/.github/workflows/testbench.yml @@ -49,7 +49,8 @@ jobs: ./scripts/build-tools.sh -t - name: build testbench - run: ./scripts/rebuild-testbench.sh + run: ./scripts/rebuild-testbench.sh || + ./scripts/rebuild-testbench.sh -j 1 - name: run testbench run: ./scripts/host-testbench.sh