Skip to content

Commit 7bacb79

Browse files
authored
Update cmake.yml
1 parent f87226c commit 7bacb79

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@ jobs:
1616
# well on Windows or Mac. You can convert this to a matrix build if you need
1717
# cross-platform coverage.
1818
# 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-
19+
strategy:
20+
os: [ubuntu-latest, macos-latest]
21+
22+
runs-on: ${{ matrix.os }}
23+
2124
steps:
2225
- uses: actions/checkout@v2
26+
27+
- name: Install packages (macOS)
28+
if: contains(matrix.os,'macos')
29+
run: |
30+
brew update || brew install lcov || gem install coveralls-lcov
2331
2432
- name: Configure CMake
2533
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.

0 commit comments

Comments
 (0)