Skip to content

test

test #130

Workflow file for this run

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
- name: Configure Debug build
run: cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug -DPSLP_BUILD_TESTING=ON
- 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/bin/all_tests