Skip to content

github: workflows: Add test for offloaded sockets #236

github: workflows: Add test for offloaded sockets

github: workflows: Add test for offloaded sockets #236

Workflow file for this run

name: Build
on:
pull_request:
types:
- edited
- opened
- reopened
- synchronize
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: zephyr-silabs
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Silabs-specific python dependencies
run: |
pip3 install crc
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: zephyr-silabs
toolchains: arm-zephyr-eabi
- name: Fetch blobs
working-directory: zephyr-silabs
shell: bash
run: |
west blobs fetch hal_silabs
- name: Build Entropy test
working-directory: zephyr-silabs
shell: bash
run: |
west twister -v --inline-logs \
-s drivers.entropy \
-p siwx917_rb4338a
- name: Build Flash test
working-directory: zephyr-silabs
shell: bash
run: |
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 -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 \
-s sample.bluetooth.peripheral_hr \
-p siwx917_rb4338a
- name: Build Rail samples
working-directory: zephyr-silabs
shell: bash
run: |
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 -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