Support Address Sanitizer in the CI
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2022-03-22 18:36:29 +01:00
parent 91596d8ab4
commit eb2907c9a2
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 4 additions and 2 deletions

View File

@ -32,7 +32,9 @@ steps:
- name: conan-data
path: /root/.conan/data
commands:
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 --suppressions=angelscript.supp build-release/pkmnLibTests
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ . -B build-release_valgrind -DSTATICC=ON -DPKMNLIB_TESTS=ON -DSHARED=ON -DSANITIZER_TESTS=OFF
- cmake --build build-release_valgrind --target all -- -j 4
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 build-release_valgrind/pkmnLibTests
- name: style-check
image: deukhoofd/linux64builder
failure: ignore
@ -57,6 +59,6 @@ steps:
- wine64 build-release-windows/pkmnLibTests.exe -s --duration=true --force-colors=true
---
kind: signature
hmac: 80877c7755787d96552c1966c9591d153cc5957d7a34d620e0b4163e6dddb8c0
hmac: 00bf200ae2970259d235942a21fccb4eabe2ec54aed9946e76476403eac45d9a
...