From 455e2be2d8fad9f137caff2b54508d7f796c850b Mon Sep 17 00:00:00 2001 From: Jack Lin Date: Wed, 24 Jul 2024 16:43:17 +0800 Subject: [PATCH] Add test environment --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 55316f4..c535dd8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,10 @@ on: [push, pull_request] jobs: fibdrv-check: - runs-on: [ubuntu-22.04, ubuntu-24.04] + strategy: + matrix: + os: [ubuntu-22.04, ubuntu-24.04] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3.3.0 - name: install-dependencies @@ -20,7 +23,10 @@ jobs: make check coding-style: - runs-on: [ubuntu-22.04, ubuntu-24.04] + strategy: + matrix: + os: [ubuntu-22.04, ubuntu-24.04] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3.3.0 - name: coding convention