Skip to content

Commit daadc79

Browse files
authored
Trying to add support for building on macos and windows as well
1 parent bead956 commit daadc79

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/cmake.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ env:
88

99
jobs:
1010
build:
11+
strategy:
12+
matrix:
13+
platform: [ubuntu-latest, macos-latest, windows-latest]
1114
# The CMake configure and build commands are platform agnostic and should work equally
1215
# well on Windows or Mac. You can convert this to a matrix build if you need
1316
# cross-platform coverage.
1417
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
15-
runs-on: ubuntu-latest
18+
runs-on: ${{ matrix.platform }}
1619

1720
steps:
1821
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)