Skip to content

Commit ec7ecba

Browse files
committed
Tie zephyr tests to a release
1 parent 755c39b commit ec7ecba

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
uses: ./.github/workflows/hostap.yml
2929
nginx:
3030
uses: ./.github/workflows/nginx.yml
31-
# zephyr:
32-
# uses: ./.github/workflows/zephyr.yml
31+
zephyr:
32+
uses: ./.github/workflows/zephyr.yml
3333
hitch:
3434
uses: ./.github/workflows/hitch.yml
3535
curl:

.github/workflows/zephyr.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
jobs:
77
run_test:
88
name: Build and run
9+
strategy:
10+
matrix:
11+
config:
12+
- zephyr-ref: v3.4.0
13+
zephyr-sdk: 0.16.1
914
runs-on: ubuntu-latest
1015
# This should be a safe limit for the tests to run.
1116
timeout-minutes: 15
@@ -33,7 +38,7 @@ jobs:
3338
run: sudo pip install west
3439

3540
- name: Init west workspace
36-
run: west init zephyr
41+
run: west init --mr ${{ matrix.config.zephyr-ref }} zephyr
3742

3843
- name: Update west.yml
3944
working-directory: zephyr/zephyr
@@ -56,9 +61,9 @@ jobs:
5661

5762
- name: Install zephyr SDK
5863
run: |
59-
wget -q https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.1/zephyr-sdk-0.16.1_linux-x86_64.tar.xz
60-
tar xf zephyr-sdk-0.16.1_linux-x86_64.tar.xz
61-
cd zephyr-sdk-0.16.1
64+
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
65+
tar xf zephyr-sdk-${{ matrix.config.zephyr-sdk }}_linux-x86_64.tar.xz
66+
cd zephyr-sdk-${{ matrix.config.zephyr-sdk }}
6267
./setup.sh -h -c
6368
6469
- name: Run wolfssl test

0 commit comments

Comments
 (0)