Skip to content

Commit

Permalink
action: clang: reduce matrix size
Browse files Browse the repository at this point in the history
With balancing in twister fixed, reduce matrix size for now, since we
are running tests only for native_posix.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif committed Apr 23, 2021
1 parent 4d4b0a0 commit d0d1bc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ jobs:
strategy:
fail-fast: false
matrix:
subset: [1, 2, 3, 4, 5, 6, 7 , 8, 9, 10]
subset: [1, 2, 3, 4, 5]
env:
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.12.4
CLANG_ROOT_DIR: /usr/lib/llvm-12
MATRIX_SIZE: 5
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
#source zephyr-env.sh
export ZEPHYR_BASE=${PWD}
export ZEPHYR_TOOLCHAIN_VARIANT=llvm
./scripts/twister --inline-logs -N -v -p native_posix --subset ${{matrix.subset}}/10 --retry-failed 3
./scripts/twister --inline-logs -N -v -p native_posix --subset ${{matrix.subset}}/${MATRIX_SIZE} --retry-failed 3
- name: Upload Unit Test Results
if: always()
Expand Down

0 comments on commit d0d1bc4

Please sign in to comment.