From 5b2028e46f6a3a92df65f35726cb0d38f9da8373 Mon Sep 17 00:00:00 2001 From: Vladimir Smitka Date: Fri, 11 Sep 2026 18:47:56 +0000 Subject: [PATCH] run-zephyr-tests: build the shard's boards in parallel The native_sim shard builds two boards, one after the other. With -j the test target builds them at the same time; the bsim shards build one board each and are unaffected. Locally on four cores, four clean board builds took 479 s one at a time and 194 s together. --- .github/workflows/run-zephyr-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-zephyr-tests.yml b/.github/workflows/run-zephyr-tests.yml index e99da28fe42..a00317018bf 100644 --- a/.github/workflows/run-zephyr-tests.yml +++ b/.github/workflows/run-zephyr-tests.yml @@ -55,4 +55,4 @@ jobs: run: make -j $(nproc) everything working-directory: ports/zephyr-cp/tools/bsim - name: Run Zephyr tests - run: make -C ports/zephyr-cp test TEST_BOARDS="${{ matrix.boards }}" PYTEST_ARGS="${{ matrix.pytest_args }}" + run: make -C ports/zephyr-cp -j$(nproc) test TEST_BOARDS="${{ matrix.boards }}" PYTEST_ARGS="${{ matrix.pytest_args }}"