From c9c111ab75fb1197f22e5af1a04da3f49b81b5e2 Mon Sep 17 00:00:00 2001 From: Jarryd Beck Date: Sat, 9 Oct 2021 12:38:55 +1100 Subject: [PATCH] Add the two available OS --- .github/workflows/cmake.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index e282e38..2bb3c8f 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -5,6 +5,7 @@ on: branches: [ master ] pull_request: branches: [ master ] + workflow_dispatch: env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) @@ -16,7 +17,11 @@ jobs: # well on Windows or Mac. You can convert this to a matrix build if you need # cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: ubuntu-latest + runs-on: ${{matrix.os}} + + strategy: + matrix: + os: [ubuntu-18.04, ubuntu-20.04] steps: - uses: actions/checkout@v2