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: include:
- os: ubuntu-latest - os: ubuntu-latest
output: ./out/why2-core-test output: ./out/why2-core-test
valgrind: valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s
configure: configure.sh configure: configure.sh
app: why2 app: why2
@ -64,4 +65,7 @@ jobs:
run: ./${{ matrix.output }} run: ./${{ matrix.output }}
- name: Test App - name: Test App
run: ${{ matrix.app }} run: ${{ matrix.app }}
- name: Test Lib by Valgrind
run: ${{ matrix.valgrind }} ${{ matrix.output }}

View File

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