Skip to content

Commit

Permalink
github: workflows: Break twister lines
Browse files Browse the repository at this point in the history
This is yet another cosmetic change. The idea is to make the tests
easier to read by placing each test and each platform on one line.

Signed-off-by: Jérôme Pouiller <[email protected]>
  • Loading branch information
jerome-pouiller committed Dec 21, 2024
1 parent cab24e8 commit a063c5b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 20 deletions.
31 changes: 22 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,39 +42,52 @@ jobs:
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s drivers.entropy -p siwx917_rb4338a -v --inline-logs
west twister -v --inline-logs \
-s drivers.entropy \
-p siwx917_rb4338a
- name: Build Flash test
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s drivers.flash.common.default -p siwx917_rb4338a -v --inline-logs \
-x DTC_OVERLAY_FILE=$(pwd)/tests/drivers/flash/common/boards/siwx917_rb4338a.overlay
west twister -v --inline-logs \
-s drivers.flash.common.default \
-p siwx917_rb4338a \
-x DTC_OVERLAY_FILE=$(pwd)/tests/drivers/flash/common/boards/siwx917_rb4338a.overlay
- name: Build DMA test
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s drivers.dma.chan_blen_transfer -p siwx917_rb4338a -v --inline-logs \
west twister -v --inline-logs \
-s drivers.dma.chan_blen_transfer \
-p siwx917_rb4338a \
-x DTC_OVERLAY_FILE=$(pwd)/tests/drivers/dma/chan_blen_transfer/boards/siwx917_rb4338a.overlay \
-x EXTRA_CONF_FILE=$(pwd)/tests/drivers/dma/chan_blen_transfer/boards/siwx917_rb4338a.conf
- name: Build Bluetooth samples
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s sample.bluetooth.peripheral_hr -p siwx917_rb4338a -v --inline-logs -K
west twister -v --inline-logs -K \
-s sample.bluetooth.peripheral_hr \
-p siwx917_rb4338a
- name: Build Rail samples
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s sample.rail.simple_txrx -T samples -v --inline-logs
west twister -v --inline-logs \
-s sample.rail.simple_txrx -T samples
- name: Build Wifi samples
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s sample.net.wifi -p siwx917_rb4338a -v --inline-logs -K
west twister -s sample.net.wifi -p siwx917_rb4338a -v --inline-logs -K \
-x EXTRA_CONF_FILE=$(pwd)/samples/net/wifi/shell/soc/siwx917_offloaded_sockets.conf
west twister -v --inline-logs -K \
-s sample.net.wifi \
-p siwx917_rb4338a
west twister -v --inline-logs -K \
-s sample.net.wifi \
-p siwx917_rb4338a \
-x EXTRA_CONF_FILE=$(pwd)/samples/net/wifi/shell/soc/siwx917_offloaded_sockets.conf
33 changes: 22 additions & 11 deletions .github/workflows/upstream-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,26 @@ jobs:
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s drivers.entropy -p siwx917_rb4338a -v --inline-logs -K
west twister -v --inline-logs -K \
-s drivers.entropy \
-p siwx917_rb4338a
- name: Build Flash test
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s drivers.flash.common.default -p siwx917_rb4338a -v --inline-logs \
-x DTC_OVERLAY_FILE=$(pwd)/tests/drivers/flash/common/boards/siwx917_rb4338a.overlay
west twister -v --inline-logs \
-s drivers.flash.common.default \
-p siwx917_rb4338a \
-x DTC_OVERLAY_FILE=$(pwd)/tests/drivers/flash/common/boards/siwx917_rb4338a.overlay
- name: Build DMA test
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s drivers.dma.chan_blen_transfer -p siwx917_rb4338a -v --inline-logs \
west twister -v --inline-logs \
-s drivers.dma.chan_blen_transfer \
-p siwx917_rb4338a \
-x DTC_OVERLAY_FILE=$(pwd)/tests/drivers/dma/chan_blen_transfer/boards/siwx917_rb4338a.overlay \
-x EXTRA_CONF_FILE=$(pwd)/tests/drivers/dma/chan_blen_transfer/boards/siwx917_rb4338a.conf
Expand All @@ -66,21 +72,26 @@ jobs:
shell: bash
run: |
west twister -v --inline-logs -K \
-p xg27_dk2602a \
-p siwx917_rb4338a \
-s sample.bluetooth.peripheral_hr \
-s sample.bluetooth.observer
-s sample.bluetooth.observer \
-p xg27_dk2602a \
-p siwx917_rb4338a
- name: Build Rail samples
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s sample.rail.simple_txrx -T samples -v --inline-logs
west twister -v --inline-logs \
-s sample.rail.simple_txrx -T samples
- name: Build Wifi samples
working-directory: zephyr-silabs
shell: bash
run: |
west twister -s sample.net.wifi -p siwx917_rb4338a -v --inline-logs -K
west twister -s sample.net.wifi -p siwx917_rb4338a -v --inline-logs -K \
-x EXTRA_CONF_FILE=$(pwd)/samples/net/wifi/shell/soc/siwx917_offloaded_sockets.conf
west twister -v --inline-logs -K \
-s sample.net.wifi \
-p siwx917_rb4338a
west twister -v --inline-logs -K \
-s sample.net.wifi \
-p siwx917_rb4338a \
-x EXTRA_CONF_FILE=$(pwd)/samples/net/wifi/shell/soc/siwx917_offloaded_sockets.conf

0 comments on commit a063c5b

Please sign in to comment.