5050 app-path : zephyr
5151 toolchains : all
5252 enable-ccache : false
53+ west-group-filter : -tools,-bootloader,-babblesim,-hal
54+ west-project-filter : -nrf_hw_models,+cmsis,+hal_xtensa,+cmsis_6
5355
5456 - name : Run Pytest For Twister Black Box Tests
5557 if : ${{ runner.os == 'Linux' }}
7476 elif [ "${{ runner.os }}" = "Windows" ]; then
7577 EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O /tmp/twister-out"
7678 fi
77- ./scripts/twister --runtime-artifact-cleanup --force-color --inline-logs -T samples/hello_world -T samples/cpp/hello_world -v $EXTRA_TWISTER_FLAGS
79+ ./scripts/twister --runtime-artifact-cleanup --force-color --inline-logs -T samples/hello_world -T samples/cpp/hello_world -v $EXTRA_TWISTER_FLAGS -P qemu_cortex_m0
80+ rm -rf twister-out*
7881
7982 - name : Build firmware No. 2 - save and load with emulation only
8083 working-directory : zephyr
8689 EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O /tmp/twister-out"
8790 fi
8891 BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -T samples/hello_world -T samples/cpp/hello_world -v $EXTRA_TWISTER_FLAGS"
89- ./scripts/twister --save-tests tests.file $BASIC_FLAGS
90- ./scripts/twister --load-tests tests.file --emulation-only $BASIC_FLAGS
92+ ./scripts/twister --save-tests tests.file $BASIC_FLAGS -P qemu_cortex_m0
93+ ./scripts/twister --load-tests tests.file --emulation-only $BASIC_FLAGS -P qemu_cortex_m0
9194 rm tests.file
95+ rm -rf twister-out*
9296
9397 - name : Build firmware No. 3 - print out test plan
9498 working-directory : zephyr
99103 elif [ "${{ runner.os }}" = "Windows" ]; then
100104 EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O /tmp/twister-out"
101105 fi
102- BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS"
106+ BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS -P qemu_cortex_m0 "
103107 ./scripts/twister --test-tree -T tests/kernel/spinlock $BASIC_FLAGS
108+ rm -rf twister-out*
104109
105110 - name : Build firmware No. 4 - integration, exclude tag, filter, shuffle, dry run
106111 working-directory : zephyr
@@ -111,8 +116,9 @@ jobs:
111116 elif [ "${{ runner.os }}" = "Windows" ]; then
112117 EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O /tmp/twister-out"
113118 fi
114- BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS"
119+ BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS -P qemu_cortex_m0 "
115120 ./scripts/twister --dry-run --integration --subset 1/3 --shuffle-tests --shuffle-tests-seed 1 --filter runnable --exclude-tag audio --exclude-tag driver $BASIC_FLAGS
121+ rm -rf twister-out*
116122
117123 - name : Build firmware No. 5 - test, arch, vendor, exclude-platform, platform-reports
118124 working-directory : zephyr
@@ -123,8 +129,9 @@ jobs:
123129 elif [ "${{ runner.os }}" = "Windows" ]; then
124130 EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O /tmp/twister-out"
125131 fi
126- BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS"
132+ BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS -P qemu_cortex_m0 "
127133 ./scripts/twister --test kernel.multiprocessing.spinlock --arch x86 --exclude-platform qemu_x86_64 --vendor qemu --platform-reports $BASIC_FLAGS
134+ rm -rf twister-out*
128135
129136 - name : Build firmware No. 6 - subtest, platform, rom-ram report, ROM footprint report from buildlog, size report
130137 working-directory : zephyr
@@ -135,8 +142,9 @@ jobs:
135142 elif [ "${{ runner.os }}" = "Windows" ]; then
136143 EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O /tmp/twister-out"
137144 fi
138- BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS"
145+ BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS -P qemu_cortex_m0 "
139146 ./scripts/twister --sub-test kernel.multiprocessing.spinlock.minimallibc.spinlock.spinlock_basic --platform qemu_x86 --create-rom-ram-report --footprint-report ROM --enable-size-report --footprint-from-buildlog $BASIC_FLAGS --detailed-test-id
147+ rm -rf twister-out*
140148
141149 - name : Build firmware No. 7 - list tags
142150 working-directory : zephyr
@@ -147,8 +155,9 @@ jobs:
147155 elif [ "${{ runner.os }}" = "Windows" ]; then
148156 EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O /tmp/twister-out"
149157 fi
150- BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS"
158+ BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS -P qemu_cortex_m0 "
151159 ./scripts/twister --sub-test kernel.multiprocessing.spinlock.minimallibc.spinlock.spinlock_basic --list-tags $BASIC_FLAGS --detailed-test-id
160+ rm -rf twister-out*
152161
153162 - name : Build firmware No. 8 - list tests
154163 working-directory : zephyr
@@ -159,8 +168,9 @@ jobs:
159168 elif [ "${{ runner.os }}" = "Windows" ]; then
160169 EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O /tmp/twister-out"
161170 fi
162- BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS"
171+ BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS -P qemu_cortex_m0 "
163172 ./scripts/twister -T tests/posix/common --list-tests $BASIC_FLAGS
173+ rm -rf twister-out*
164174
165175 - name : Build firmware No. 9 - report flags - dir, name, suffix, summary, all-options, filtered
166176 working-directory : zephyr
@@ -171,8 +181,9 @@ jobs:
171181 elif [ "${{ runner.os }}" = "Windows" ]; then
172182 EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O /tmp/twister-out"
173183 fi
174- BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS"
184+ BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS -P qemu_cortex_m0 "
175185 ./scripts/twister --sub-test kernel.multiprocessing.spinlock.minimallibc.spinlock.spinlock_basic --platform qemu_x86 --report-dir . --report-name test_name --report-suffix suffix --report-summary 0 --report-all-options --report-filtered $BASIC_FLAGS --detailed-test-id
186+ rm -rf twister-out*
176187
177188 - name : Build firmware No. 10 - force platform and toolchain, log level, timestamps, logfile
178189 working-directory : zephyr
@@ -183,6 +194,7 @@ jobs:
183194 elif [ "${{ runner.os }}" = "Windows" ]; then
184195 EXTRA_TWISTER_FLAGS="-P native_sim --short-build-path -O /tmp/twister-out"
185196 fi
186- BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS"
197+ BASIC_FLAGS="--runtime-artifact-cleanup --force-color --inline-logs -v $EXTRA_TWISTER_FLAGS -P qemu_cortex_m0 "
187198 ./scripts/twister --sub-test kernel.multiprocessing.spinlock.minimallibc.spinlock.spinlock_basic --force-platform --platform qemu_x86 --force-toolchain --log-level WARNING --log-file log.file $BASIC_FLAGS --detailed-test-id
188199 rm log.file
200+ rm -rf twister-out*
0 commit comments