Skip to content

Commit

Permalink
.github: fallback on rebuild-testbench -j 1 when failing
Browse files Browse the repository at this point in the history
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 <marc.herbert@intel.com>
  • Loading branch information
marc-hb committed Jan 27, 2024
1 parent 3930270 commit 56b46d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/testbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 56b46d9

Please sign in to comment.