Skip to content

Commit cccd8a6

Browse files
committed
samples: work-philosophers: Add target restriction
Add target restrictions to this sample as well. Without these, nightly runs on zephyr's main try to build for unsupported targets. Signed-off-by: David Brown <[email protected]>
1 parent 897ca3a commit cccd8a6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

samples/work-philosophers/sample.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@ common:
99
- "All threads done"
1010
tags: rust
1111
filter: CONFIG_RUST_SUPPORTED
12+
platform_allow:
13+
- qemu_cortex_m0
14+
- qemu_cortex_m3
15+
- qemu_riscv32
16+
- qemu_riscv32/qemu_virt_riscv32/smp
17+
- qemu_riscv64
18+
- qemu_riscv64/qemu_virt_riscv64/smp
19+
- nrf52840dk/nrf52840
1220
tests:
13-
sample.rust.philosopher:
21+
sample.rust.work-philosopher:
1422
tags: introduction
1523
min_ram: 32

0 commit comments

Comments
 (0)