Misc bugs #107
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Codecov | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| compiler: [ g++ ] | |
| BUILD_TYPE : [ Debug ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: dependencies | |
| run: sudo apt install libeigen3-dev lcov | |
| - name: configure | |
| env: | |
| CXX: ${{ matrix.compiler }} | |
| run: cmake -H. -Bbuild -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} -DENABLE_COVERAGE_BUILD=ON | |
| - name: make | |
| run: cmake --build build -- -j4 | |
| - name: test | |
| run: cd build && ctest | |
| - name: Generate coverage data | |
| run: lcov --directory . --capture --output-file coverage.info | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |