This commit is contained in:
2026-03-19 20:27:25 +03:00
parent 66d4df0524
commit 5a91151bc0
2 changed files with 26 additions and 5 deletions

View File

@@ -370,6 +370,8 @@ jobs:
shell: bash
run: |
cmake --preset ${{ matrix.preset }} \
-DCMAKE_C_COMPILER=$(xcrun --find clang) \
-DCMAKE_CXX_COMPILER=$(xcrun --find clang++) \
-DOMATH_BUILD_TESTS=ON \
-DOMATH_BUILD_BENCHMARK=OFF \
-DOMATH_ENABLE_COVERAGE=${{ matrix.coverage == true && 'ON' || 'OFF' }} \
@@ -389,8 +391,6 @@ jobs:
shell: bash
run: |
brew install lcov
# Clean stale profraw files before running coverage
find cmake-build/build/${{ matrix.preset }} -name "*.profraw" -delete 2>/dev/null || true
chmod +x scripts/coverage-llvm.sh
./scripts/coverage-llvm.sh \
"${{ github.workspace }}" \