diff --git a/.drone.yml b/.drone.yml index ff1367e..14bedc9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 --build build-release --target all -- -j 4 - 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 - name: test-release-windows image: deukhoofd/windowsbuilder @@ -62,4 +65,8 @@ steps: - cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll /drone/src/build-release-windows/bin/ - cp /drone/src/build-release-windows/lib/libpkmnLib.so /drone/src/build-release-windows/bin/ - export WINEARCH=win64 - - wine build-release-windows/bin/pkmnLibTests.exe -s \ No newline at end of file + - 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 \ No newline at end of file