Run tests under valgrind's memcheck
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 2m20s

This commit is contained in:
hashlag
2026-01-26 00:28:43 +03:00
parent 1e593ef703
commit 4e89b2fb05

View File

@@ -15,7 +15,7 @@ jobs:
- name: Install - name: Install
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y build-essential cmake sudo apt-get install -y build-essential cmake valgrind
- name: Configure and build [Debug] - name: Configure and build [Debug]
run: | run: |
@@ -30,7 +30,7 @@ jobs:
cmake --build build-release/ cmake --build build-release/
- name: Run tests - name: Run tests
run: ./build-debug/ChaosTests/ChaosTests run: valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all ./build-debug/ChaosTests/ChaosTests
- name: Run benchmarks - name: Run benchmarks
run: ./build-release/ChaosBenches/ChaosBenches run: ./build-release/ChaosBenches/ChaosBenches