From 43ccfb643d4412fdb2260775ada89fec2496b578 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Mon, 11 Sep 2023 10:56:52 +0200 Subject: [PATCH] Tie zephyr tests to a release --- .github/workflows/zephyr.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml index 265c60454..eb81835c0 100644 --- a/.github/workflows/zephyr.yml +++ b/.github/workflows/zephyr.yml @@ -9,6 +9,11 @@ on: jobs: run_test: name: Build and run + strategy: + matrix: + config: + - zephyr-ref: v3.4.0 + zephyr-sdk: 0.16.1 runs-on: ubuntu-latest timeout-minutes: 20 steps: @@ -35,7 +40,7 @@ jobs: run: sudo pip install west - name: Init west workspace - run: west init zephyr + run: west init --mr ${{ matrix.config.zephyr-ref }} zephyr - name: Update west.yml working-directory: zephyr/zephyr @@ -60,9 +65,9 @@ jobs: - name: Install zephyr SDK 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 - tar xf zephyr-sdk-0.16.1_linux-x86_64.tar.xz - cd zephyr-sdk-0.16.1 + 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-${{ matrix.config.zephyr-sdk }}_linux-x86_64.tar.xz + cd zephyr-sdk-${{ matrix.config.zephyr-sdk }} ./setup.sh -h -c - name: Setup qemu networking