File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -53,20 +53,11 @@ jobs:
5353 elif [ "$RUNNER_OS" = "Windows" ]; then
5454 echo "vcpkg-setup-file=bootstrap-vcpkg.bat" >> "$GITHUB_OUTPUT"
5555 fi
56-
57- - name : Set coverage off
58- if : matrix.c_compiler != 'gcc' || matrix.build_type == 'Release'
59- id : coverage-state
60- shell : bash
61- run : |
56+ if [ {{ matrix.c_compiler }} != gcc ] || [ {{ matrix.build_type }} == 'Release' ]; then
6257 echo "enable_coverage=OFF" >> "$GITHUB_OUTPUT"
63-
64- - name : Set coverage on
65- if : matrix.c_compiler != 'gcc' && matrix.build_type == 'Release'
66- id : coverage-state
67- shell : bash
68- run : |
58+ else
6959 echo "enable_coverage=ON" >> "$GITHUB_OUTPUT"
60+ fi
7061
7162 - name : Install lcov Linux
7263 id : install-lcov
9990 -DCMAKE_CXX_COMPILER=${{ matrix.cxx_compiler }}
10091 -DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
10192 -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
102- -DENABLE_COVERAGE=${{ steps.coverage-state .outputs.enable_coverage }}
93+ -DENABLE_COVERAGE=${{ steps.strings .outputs.enable_coverage }}
10394 -S ${{ github.workspace }}
10495
10596 - name : Build
You can’t perform that action at this time.
0 commit comments