File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change
1
+ # Run tests with valgrind intstrumentation tools: memcheck, drd, helgrind
1
2
name : Valgrind
2
3
3
4
on : workflow_call
@@ -8,10 +9,6 @@ permissions:
8
9
jobs :
9
10
valgrind :
10
11
name : Valgrind
11
- strategy :
12
- fail-fast : false
13
- matrix :
14
- tool : ['memcheck', 'drd', 'helgrind']
15
12
runs-on : ubuntu-latest
16
13
17
14
steps :
42
39
- name : Build
43
40
run : cmake --build ${{github.workspace}}/build --config Debug -j$(nproc)
44
41
45
- - name : Run tests under valgrind
46
- run : ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build ${{matrix.tool}}
42
+ - name : Run tests with 'memcheck'
43
+ run : ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build memcheck
44
+
45
+ - name : Run tests with 'drd'
46
+ run : ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build drd
47
+
48
+ - name : Run tests with 'helgrind'
49
+ run : ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build helgrind
Original file line number Diff line number Diff line change @@ -145,6 +145,8 @@ for test in $(ls -1 umf_test-*); do
145
145
fi || true
146
146
done
147
147
148
+ rm -rf ${BUILD_DIR} /test/cpuid
149
+
148
150
[ $ANY_TEST_FAILED -eq 0 ] && echo PASSED && exit 0
149
151
150
152
echo
You can’t perform that action at this time.
0 commit comments