From 54489e4276d4d499083baecfb0289a8d38b41a6c Mon Sep 17 00:00:00 2001 From: jarro2783 Date: Sat, 9 Oct 2021 12:48:44 +1100 Subject: [PATCH] Add the two available OS (#306) --- .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 -- libgit2 0.21.4