Commit 54489e4276d4d499083baecfb0289a8d38b41a6c

Authored by jarro2783
Committed by GitHub
1 parent 4fcadd83

Add the two available OS (#306)

Showing 1 changed file with 6 additions and 1 deletions
.github/workflows/cmake.yml
... ... @@ -5,6 +5,7 @@ on:
5 5 branches: [ master ]
6 6 pull_request:
7 7 branches: [ master ]
  8 + workflow_dispatch:
8 9  
9 10 env:
10 11 # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
... ... @@ -16,7 +17,11 @@ jobs:
16 17 # well on Windows or Mac. You can convert this to a matrix build if you need
17 18 # cross-platform coverage.
18 19 # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
19   - runs-on: ubuntu-latest
  20 + runs-on: ${{matrix.os}}
  21 +
  22 + strategy:
  23 + matrix:
  24 + os: [ubuntu-18.04, ubuntu-20.04]
20 25  
21 26 steps:
22 27 - uses: actions/checkout@v2
... ...