]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] Enable debug build with ASAN and leak sanitizer
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 18 Oct 2025 07:50:48 +0000 (08:50 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 18 Oct 2025 07:50:48 +0000 (08:50 +0100)
Use -DENABLE_FULL_DEBUG=ON -DSANITIZE=address,leak instead of
release build which is incompatible with sanitizers

.github/workflows/integration-test.yml

index 0f0fbd0a544fa06c61b76e2c11cafa14361c0c13..35871052415f1b15209871f2cb5fafdb230a6632 100644 (file)
@@ -72,8 +72,8 @@ jobs:
           cd build
           cmake -DCMAKE_INSTALL_PREFIX=../install \
                 -DENABLE_COVERAGE=OFF \
-                -DENABLE_SANITIZER=address \
-                -DSANITIZER=address \
+                -DENABLE_FULL_DEBUG=ON \
+                -DSANITIZE=address,leak \
                 -GNinja ..
           ninja
           ninja install