Skip to content

Commit f816622

Browse files
authored
Update cmake.yml
1 parent 3901862 commit f816622

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/cmake.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,10 @@ 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-
name: ${{ matrix.os }}, gfortran-${{ matrix.ver }}
20-
strategy:
21-
os: [ubuntu-latest, macos-latest]
22-
23-
runs-on: ${{ matrix.os }}
19+
runs-on: ubuntu-latest
2420

2521
steps:
2622
- uses: actions/checkout@v2
27-
28-
- name: Install packages (macOS)
29-
if: contains(matrix.os,'macos')
30-
run: |
31-
brew update || brew install lcov || gem install coveralls-lcov
3223

3324
- name: Configure CMake
3425
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
@@ -44,7 +35,11 @@ jobs:
4435
# Execute tests defined by the CMake configuration.
4536
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
4637
run: ctest -V
47-
38+
39+
- name: Install dependencies
40+
shell: bash
41+
run: sudo apt-get update ; sudo apt-get install lcov
42+
4843
- name: Coverage
4944
run: cd build && lcov -c -d . -o cov.txt && lcov -e cov.txt "*/regtools/src/*" -o coverage.run.filtered.1 && lcov -r coverage.run.filtered.1 "*src/utils/*" "*/tests/*" -o coverage.run.filtered
5045

0 commit comments

Comments
 (0)