Skip to content

Commit 034e143

Browse files
committed
Fix coverage information being not build
1 parent 4db35c7 commit 034e143

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build_cmake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: sudo apt-get install ${{ matrix.cxx }} ninja-build lcov doxygen
3333
- name: Check Coverage
3434
run: |
35-
if [[ ${{ matrix.build_type }} == 'Debug' && ${{ matrix.cxx }} == 'g++' ]]; then
35+
if [[ ${{ matrix.build_type }} == 'Debug' && ${{ matrix.cxx }} == 'g++-11' && ${{ matrix.cxx_version }} == 'g++-17' ]]; then
3636
echo "COVERAGE=ON" >> "$GITHUB_ENV"
3737
echo "Running with coverage"
3838
else
@@ -114,8 +114,8 @@ jobs:
114114
- name: Create distribution zip
115115
if: ${{ matrix.build_type == 'Release' }}
116116
run: |
117-
cmake --build build --target docs
118-
cd build && cpack --config CPackConfig.cmake
117+
cmake --build build --target docs
118+
cd build && cpack --config CPackConfig.cmake
119119
- name: Get package name
120120
if: ${{ matrix.build_type == 'Release' }}
121121
run: |

0 commit comments

Comments
 (0)