Tie zephyr tests to a release

This commit is contained in:
Juliusz Sosinowicz
2023-09-07 13:05:43 +02:00
parent 755c39b5fc
commit ec7ecba0fe
2 changed files with 11 additions and 6 deletions

View File

@@ -28,8 +28,8 @@ jobs:
uses: ./.github/workflows/hostap.yml uses: ./.github/workflows/hostap.yml
nginx: nginx:
uses: ./.github/workflows/nginx.yml uses: ./.github/workflows/nginx.yml
# zephyr: zephyr:
# uses: ./.github/workflows/zephyr.yml uses: ./.github/workflows/zephyr.yml
hitch: hitch:
uses: ./.github/workflows/hitch.yml uses: ./.github/workflows/hitch.yml
curl: curl:

View File

@@ -6,6 +6,11 @@ on:
jobs: jobs:
run_test: run_test:
name: Build and run name: Build and run
strategy:
matrix:
config:
- zephyr-ref: v3.4.0
zephyr-sdk: 0.16.1
runs-on: ubuntu-latest runs-on: ubuntu-latest
# This should be a safe limit for the tests to run. # This should be a safe limit for the tests to run.
timeout-minutes: 15 timeout-minutes: 15
@@ -33,7 +38,7 @@ jobs:
run: sudo pip install west run: sudo pip install west
- name: Init west workspace - name: Init west workspace
run: west init zephyr run: west init --mr ${{ matrix.config.zephyr-ref }} zephyr
- name: Update west.yml - name: Update west.yml
working-directory: zephyr/zephyr working-directory: zephyr/zephyr
@@ -56,9 +61,9 @@ jobs:
- name: Install zephyr SDK - name: Install zephyr SDK
run: | run: |
wget -q https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.1/zephyr-sdk-0.16.1_linux-x86_64.tar.xz wget -q https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${{ matrix.config.zephyr-sdk }}/zephyr-sdk-${{ matrix.config.zephyr-sdk }}_linux-x86_64.tar.xz
tar xf zephyr-sdk-0.16.1_linux-x86_64.tar.xz tar xf zephyr-sdk-${{ matrix.config.zephyr-sdk }}_linux-x86_64.tar.xz
cd zephyr-sdk-0.16.1 cd zephyr-sdk-${{ matrix.config.zephyr-sdk }}
./setup.sh -h -c ./setup.sh -h -c
- name: Run wolfssl test - name: Run wolfssl test