diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index f970794d..843167f4 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -8,11 +8,10 @@ env: jobs: build: - # The CMake configure and build commands are platform agnostic and should work equally - # 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-18.04, macos-10.15, windows-2019] + runs-on: ${{matrix.os}} + strategy: + matrix: + os: [ubuntu-18.04, macos-10.15, windows-2019] steps: - uses: actions/checkout@v2