From dae02f403513b37c625c624d96536616f1169446 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Mon, 12 Feb 2024 08:19:17 +0000 Subject: [PATCH] .github/fuzzer: use new -j $(nproc) option Use new option to fuzz more in the same time. Signed-off-by: Marc Herbert --- .github/workflows/ipc_fuzzer.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ipc_fuzzer.yml b/.github/workflows/ipc_fuzzer.yml index 9348f0d6ae03..4c733295b710 100644 --- a/.github/workflows/ipc_fuzzer.yml +++ b/.github/workflows/ipc_fuzzer.yml @@ -83,7 +83,8 @@ jobs: esac duration="${{inputs.fuzzing_duration_s}}" duration="${duration:-301}" # pull_request has not 'inputs.' :-( - sof/scripts/fuzz.sh -o fuzz-stdout.txt -t "$duration" -- "$cmake_arg" + # Note libFuzzer makes a difference between -jobs and -workers (capped at nproc/2) + sof/scripts/fuzz.sh -o fuzz-stdout.txt -t "$duration" -j"$(nproc)" -- "$cmake_arg" - name: Upload stdout uses: actions/upload-artifact@v3