Skip to content

Commit

Permalink
add cross section, remove headers
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish committed Nov 22, 2024
1 parent 3a4ae86 commit 3a498f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/manifold.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DMANIFOLD_PAR=${{matrix.parallelization}} -DCODE_COVERAGE=ON .. && make
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DMANIFOLD_CROSS_SECTION=${{matrix.cross_section}} -DMANIFOLD_PAR=${{matrix.parallelization}} -DCODE_COVERAGE=ON .. && make
lcov --capture --gcov-tool gcov-${{ matrix.gcc }} --ignore-errors mismatch --initial --directory . --output-file ./code_coverage_init.info
cd test
./manifold_test
cd ../
lcov --capture --gcov-tool gcov-${{ matrix.gcc }} --ignore-errors mismatch --directory . --output-file ./code_coverage_test.info
lcov --add-tracefile ./code_coverage_init.info --add-tracefile ./code_coverage_test.info --output-file ./code_coverage_total.info
lcov --remove ./code_coverage_total.info "/usr/*"" "/*/test/*" "/*/extras/*" "/*/bindings/*" --output-file ./code_coverage.info
lcov --remove ./code_coverage_total.info "/usr/*" "/*/test/*" "/*/extras/*" "/*/bindings/*" "/*/include/*" --output-file ./code_coverage.info
cd ../
- uses: codecov/codecov-action@v5
if: matrix.parallelization == 'OFF'
Expand Down

0 comments on commit 3a498f7

Please sign in to comment.