Skip to content

Commit 130f2ce

Browse files
nashifstephanosio
authored andcommitted
ci: twister: set number of jobs to use
We want to control the number of jobs we run in parallel. Detection on some runners can be wrong. Signed-off-by: Anas Nashif <[email protected]>
1 parent 207a048 commit 130f2ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/clang.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
export ZEPHYR_TOOLCHAIN_VARIANT=llvm
111111
112112
./scripts/twister -p native_sim --no-detailed-test-id --force-color --inline-logs -M -N -v --retry-failed 2 \
113-
-T tests --subset ${{matrix.subset}}/2
113+
-T tests --subset ${{matrix.subset}}/2 -j 16
114114
115115
- name: Print ccache stats
116116
if: always()

.github/workflows/twister.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ jobs:
143143
BSIM_OUT_PATH: /opt/bsim/
144144
BSIM_COMPONENTS_PATH: /opt/bsim/components
145145
TWISTER_COMMON: ' --test-config tests/test_config_ci.yaml --no-detailed-test-id --force-color --inline-logs -v -N -M --retry-failed 3 --timeout-multiplier 2 '
146-
WEEKLY_OPTIONS: ' -M --build-only --all --show-footprint --report-filtered'
147-
PR_OPTIONS: ' --clobber-output --integration'
148-
PUSH_OPTIONS: ' --clobber-output -M --show-footprint --report-filtered'
146+
WEEKLY_OPTIONS: ' -M --build-only --all --show-footprint --report-filtered -j 32'
147+
PR_OPTIONS: ' --clobber-output --integration -j 16'
148+
PUSH_OPTIONS: ' --clobber-output -M --show-footprint --report-filtered -j 16'
149149
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
150150
BASE_REF: ${{ github.base_ref }}
151151
LLVM_TOOLCHAIN_PATH: /usr/lib/llvm-16

0 commit comments

Comments
 (0)