mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-18 18:23:26 +00:00
fix
This commit is contained in:
3
.github/workflows/cmake-multi-platform.yml
vendored
3
.github/workflows/cmake-multi-platform.yml
vendored
@@ -380,6 +380,7 @@ jobs:
|
|||||||
run: cmake --build cmake-build/build/${{ matrix.preset }} --target unit_tests omath
|
run: cmake --build cmake-build/build/${{ matrix.preset }} --target unit_tests omath
|
||||||
|
|
||||||
- name: Run unit_tests
|
- name: Run unit_tests
|
||||||
|
if: ${{ matrix.coverage != true }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./out/Release/unit_tests
|
run: ./out/Release/unit_tests
|
||||||
|
|
||||||
@@ -388,6 +389,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
brew install lcov
|
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
|
chmod +x scripts/coverage-llvm.sh
|
||||||
./scripts/coverage-llvm.sh \
|
./scripts/coverage-llvm.sh \
|
||||||
"${{ github.workspace }}" \
|
"${{ github.workspace }}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user