Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github: workflows: Add test for offloaded sockets #76

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 24 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,37 +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 -x DTC_OVERLAY_FILE=$(pwd)/tests/drivers/flash/common/boards/siwx917_rb4338a.overlay -v --inline-logs
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 -- \
-DTC_OVERLAY_FILE=$(pwd)/tests/drivers/dma/chan_blen_transfer/boards/siwx917_rb4338a.overlay \
-DEXTRA_CONF_FILE=$(pwd)/tests/drivers/dma/chan_blen_transfer/boards/siwx917_rb4338a.conf \
-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 -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
35 changes: 24 additions & 11 deletions .github/workflows/upstream-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,41 +44,54 @@ 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 -x DTC_OVERLAY_FILE=$(pwd)/tests/drivers/flash/common/boards/siwx917_rb4338a.overlay -v --inline-logs
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 -- \
-DTC_OVERLAY_FILE=$(pwd)/tests/drivers/dma/chan_blen_transfer/boards/siwx917_rb4338a.overlay \
-DEXTRA_CONF_FILE=$(pwd)/tests/drivers/dma/chan_blen_transfer/boards/siwx917_rb4338a.conf \
-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 -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 -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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_WIFI_SIWX917_NET_STACK_OFFLOAD=y