File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 19
19
build :
20
20
runs-on : ${{ matrix.os }}
21
21
strategy :
22
+ fail-fast : false
22
23
matrix :
23
24
os : [ubuntu-22.04, ubuntu-24.04, macos-latest]
24
25
compiler : [gcc, clang]
26
+ generator : [Ninja, Unix Makefiles]
25
27
exclude :
26
28
- os : macos-latest
27
29
compiler : gcc
34
36
if : runner.os == 'Linux'
35
37
run : |
36
38
sudo apt-get update
37
- sudo apt-get install -y cmake lcov gfortran
39
+ sudo apt-get install -y cmake lcov gfortran ${{ matrix.compiler }}
38
40
39
41
- name : Install CMake, lcov on macOS
40
42
if : runner.os == 'macOS'
@@ -45,13 +47,13 @@ jobs:
45
47
- name : Configure and build
46
48
run : |
47
49
mkdir build && cd build
48
- cmake .. -DENABLE_COVERAGE=On
50
+ cmake .. -G ${{ matrix.generator }} - DENABLE_COVERAGE=On
49
51
make
50
52
make gcov lcov test
51
53
52
- - name : lcov report
53
- uses : actions/upload-artifact@v4
54
- with :
55
- name : code -coverage-report
56
- path : ./build/lcov
57
-
54
+ # - name: Codecov upload
55
+ # uses: codecov/codecov-action@v5
56
+ # with:
57
+ # name: codecov -coverage
58
+ # token: ${{ secrets.CODECOV_TOKEN }}
59
+ # fail_ci_if_error: true
You can’t perform that action at this time.
0 commit comments