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