added valgrind test to workflows
This commit is contained in:
parent
321580f796
commit
3dcdf601a9
6
.github/workflows/why2-core-test.yml
vendored
6
.github/workflows/why2-core-test.yml
vendored
@ -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 }}
|
7
.github/workflows/why2-logger-test.yml
vendored
7
.github/workflows/why2-logger-test.yml
vendored
@ -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 }}
|
Loading…
x
Reference in New Issue
Block a user