Skip to content

Commit f716fc9

Browse files
committed
ci: build native_sim with llvm
Signed-off-by: Anas Nashif <[email protected]>
1 parent 01ba549 commit f716fc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/twister.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
run: |
136136
export ZEPHYR_BASE=${PWD}
137137
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
138-
./scripts/twister -G --subset ${{matrix.subset}}/${{ strategy.job-total }} ${TWISTER_COMMON} ${PUSH_OPTIONS}
138+
./scripts/twister -G --force-platform-toolchain native_sim/native:llvm --subset ${{matrix.subset}}/${{ strategy.job-total }} ${TWISTER_COMMON} ${PUSH_OPTIONS}
139139
if [ "${{matrix.subset}}" = "1" ]; then
140140
./scripts/zephyr_module.py --twister-out module_tests.args
141141
if [ -s module_tests.args ]; then
@@ -151,11 +151,11 @@ jobs:
151151
export ZEPHYR_BASE=${PWD}
152152
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
153153
python3 ./scripts/ci/test_plan.py -c origin/${BASE_REF}.. --pull-request --no-detailed-test-id
154-
./scripts/twister --subset ${{matrix.subset}}/${{ strategy.job-total }} --load-tests testplan.json ${TWISTER_COMMON} ${PR_OPTIONS}
154+
./scripts/twister --force-platform-toolchain native_sim/native:llvm --subset ${{matrix.subset}}/${{ strategy.job-total }} --load-tests testplan.json ${TWISTER_COMMON} ${PR_OPTIONS}
155155
if [ "${{matrix.subset}}" = "1" -a ${{needs.twister-build-prep.outputs.fullrun}} = 'True' ]; then
156156
./scripts/zephyr_module.py --twister-out module_tests.args
157157
if [ -s module_tests.args ]; then
158-
./scripts/twister +module_tests.args --outdir module_tests ${TWISTER_COMMON} ${PR_OPTIONS}
158+
./scripts/twister +module_tests.args --force-platform-toolchain native_sim/native:llvm --outdir module_tests ${TWISTER_COMMON} ${PR_OPTIONS}
159159
fi
160160
fi
161161

0 commit comments

Comments
 (0)