Repository navigation
Size the gathered Jacobian by the true selected-row nnz sum #1013
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: Valgrind | |
| on: [push, pull_request] | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y valgrind libopenblas-dev | |
| - name: Configure Debug build | |
| run: cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug | |
| - name: Build | |
| run: cmake --build build --config Debug | |
| - name: Run tests under Valgrind | |
| run: | | |
| valgrind --leak-check=full --show-leak-kinds=all \ | |
| --track-origins=yes -s --show-reachable=yes \ | |
| --error-exitcode=1 build/all_tests | |