added valgrind test to workflows

This commit is contained in:
Václav Šmejkal 2023-02-08 10:39:18 +01:00
parent 321580f796
commit 3dcdf601a9
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59
2 changed files with 10 additions and 3 deletions

View File

@ -33,6 +33,7 @@ jobs:
include:
- os: ubuntu-latest
output: ./out/why2-core-test
valgrind: valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s
configure: configure.sh
app: why2
@ -65,3 +66,6 @@ jobs:
- name: Test App
run: ${{ matrix.app }}
- name: Test Lib by Valgrind
run: ${{ matrix.valgrind }} ${{ matrix.output }}

View File

@ -34,7 +34,7 @@ jobs:
- os: ubuntu-latest
output: ./out/why2-logger-test
configure: configure.sh
app: why2
valgrind: valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s
steps:
- name: Checkout repository
@ -62,3 +62,6 @@ jobs:
- name: Test Lib
run: ./${{ matrix.output }}
- name: Test Lib by Valgrind
run: ${{ matrix.valgrind }} ${{ matrix.output }}