Add valgrind to Windows, split up valgrind runs into separate steps.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
31676fd900
commit
ae53f20dc0
|
@ -35,6 +35,9 @@ steps:
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ . -B build-release
|
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ . -B build-release
|
||||||
- cmake --build build-release --target all -- -j 4
|
- cmake --build build-release --target all -- -j 4
|
||||||
- build-release/bin/pkmnLibTests -s --durations yes --use-colour yes
|
- build-release/bin/pkmnLibTests -s --durations yes --use-colour yes
|
||||||
|
- name: valgrind-release-linux
|
||||||
|
image: deukhoofd/linux64builder
|
||||||
|
commands:
|
||||||
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 build-release/bin/pkmnLibTests
|
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 build-release/bin/pkmnLibTests
|
||||||
- name: test-release-windows
|
- name: test-release-windows
|
||||||
image: deukhoofd/windowsbuilder
|
image: deukhoofd/windowsbuilder
|
||||||
|
@ -63,3 +66,7 @@ steps:
|
||||||
- cp /drone/src/build-release-windows/lib/libpkmnLib.so /drone/src/build-release-windows/bin/
|
- cp /drone/src/build-release-windows/lib/libpkmnLib.so /drone/src/build-release-windows/bin/
|
||||||
- export WINEARCH=win64
|
- export WINEARCH=win64
|
||||||
- wine build-release-windows/bin/pkmnLibTests.exe -s
|
- wine build-release-windows/bin/pkmnLibTests.exe -s
|
||||||
|
- name: valgrind-release-windows
|
||||||
|
image: deukhoofd/windowsbuilder
|
||||||
|
commands:
|
||||||
|
- valgrind --trace-children=yes --vex-iropt-register-updates=allregs-at-mem-access wine build-release-windows/bin/pkmnLibTests.exe -s
|
Loading…
Reference in New Issue