.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 <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2024-01-26 17:29:50 -08:00 committed by Kai Vehmanen
parent 8bfb4896c7
commit a3045b83a6
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ jobs:
./scripts/build-tools.sh -t ./scripts/build-tools.sh -t
- name: build testbench - name: build testbench
run: ./scripts/rebuild-testbench.sh run: ./scripts/rebuild-testbench.sh ||
./scripts/rebuild-testbench.sh -j 1
- name: run testbench - name: run testbench
run: ./scripts/host-testbench.sh run: ./scripts/host-testbench.sh