@@ -3,10 +3,10 @@ name: Build
33on :
44 pull_request :
55 types :
6- - edited
7- - opened
8- - reopened
9- - synchronize
6+ - edited
7+ - opened
8+ - reopened
9+ - synchronize
1010
1111jobs :
1212 build :
@@ -16,34 +16,34 @@ jobs:
1616 os : [ubuntu-22.04, macos-14, windows-2022]
1717 runs-on : ${{ matrix.os }}
1818 steps :
19- - name : Checkout
20- uses : actions/checkout@v4
21- with :
22- path : zephyr-silabs
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+ with :
22+ path : zephyr-silabs
2323
24- - name : Set up Python
25- uses : actions/setup-python@v5
26- with :
27- python-version : 3.11
24+ - name : Set up Python
25+ uses : actions/setup-python@v5
26+ with :
27+ python-version : 3.11
2828
29- - name : Setup Zephyr project
30- uses : zephyrproject-rtos/action-zephyr-setup@v1
31- with :
32- app-path : zephyr-silabs
33- toolchains : arm-zephyr-eabi
29+ - name : Setup Zephyr project
30+ uses : zephyrproject-rtos/action-zephyr-setup@v1
31+ with :
32+ app-path : zephyr-silabs
33+ toolchains : arm-zephyr-eabi
3434
35- - name : Fetch blobs
36- run : |
37- west blobs fetch hal_silabs
35+ - name : Fetch blobs
36+ run : |
37+ west blobs fetch hal_silabs
3838
39- - name : Build hello world
40- working-directory : zephyr-silabs
41- shell : bash
42- run : |
43- if [ "${{ runner.os }}" = "Windows" ]; then
44- EXTRA_TWISTER_FLAGS="--short-build-path -O/tmp/twister-out"
45- fi
46- west twister --test sample.basic.helloworld -p siwx917_rb4338a -v --inline-logs $EXTRA_TWISTER_FLAGS
47- west twister --test sample.net.wifi -p siwx917_rb4338a -v --inline-logs -K $EXTRA_TWISTER_FLAGS
48- west twister --test sample.bluetooth.peripheral_hr -p siwx917_rb4338a -v --inline-logs -K $EXTRA_TWISTER_FLAGS
49- west twister --test sample.rail.simple_txrx -T samples -v --inline-logs $EXTRA_TWISTER_FLAGS
39+ - name : Build hello world
40+ working-directory : zephyr-silabs
41+ shell : bash
42+ run : |
43+ if [ "${{ runner.os }}" = "Windows" ]; then
44+ EXTRA_TWISTER_FLAGS="--short-build-path -O/tmp/twister-out"
45+ fi
46+ west twister --test sample.basic.helloworld -p siwx917_rb4338a -v --inline-logs $EXTRA_TWISTER_FLAGS
47+ west twister --test sample.net.wifi -p siwx917_rb4338a -v --inline-logs -K $EXTRA_TWISTER_FLAGS
48+ west twister --test sample.bluetooth.peripheral_hr -p siwx917_rb4338a -v --inline-logs -K $EXTRA_TWISTER_FLAGS
49+ west twister --test sample.rail.simple_txrx -T samples -v --inline-logs $EXTRA_TWISTER_FLAGS
0 commit comments