Skip to content

Commit 065e36d

Browse files
committed
fix logic
1 parent d67aab4 commit 065e36d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ jobs:
131131
export PATH="/usr/lib/llvm-21/bin:$PATH"
132132
NO_AVX=1 ./scripts/run_clang_coverage.sh build/clang-coverage-lcov
133133
134-
- uses: coverallsapp/github-action@master
134+
- name: Run coveralls (x64-linux)
135+
if: ${{ matrix.triplet == 'x64-linux' }}
136+
uses: coverallsapp/github-action@master
135137
with:
136138
path-to-lcov: ./build/clang-coverage-lcov/coverage/coverage.fixed.lcov
137139
github-token: ${{ secrets.GITHUB_TOKEN }}

scripts/run_clang_coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ cmake_args=(
4545
-S . -B "${BUILD_DIR}"
4646
-DCMAKE_BUILD_TYPE=Debug
4747
-DOMATH_BUILD_TESTS=ON
48-
-DOMATH_COVERAGE=ON
48+
-DOMATH_ENABLE_COVERAGE=ON
4949
-DCMAKE_C_COMPILER="${CC}"
5050
-DCMAKE_CXX_COMPILER="${CXX}"
5151
)

0 commit comments

Comments
 (0)