check snapshot code with valgrind (#7893)

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2025-06-28 14:36:33 +02:00 committed by GitHub
parent 3e3e6107ed
commit 2f8b16936b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,6 +93,13 @@ jobs:
exit 1;
}
- name: check snapshots with valgrind (ubuntu)
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt install -y valgrind
valgrind --version
valgrind --leak-check=full --error-exitcode=1 --errors-for-leak-kinds=definite,possible ./zig-out/bin/snapshot
- name: check if statically linked (ubuntu)
if: startsWith(matrix.os, 'ubuntu')
run: |