From dd1904a667cb2550652e41f402cebe3fd6e2d84d Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 20 Apr 2024 21:38:15 +0200 Subject: [PATCH] Run CI test also with ASan --- util/ci/script.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/util/ci/script.sh b/util/ci/script.sh index d818d13..b6a3ae1 100755 --- a/util/ci/script.sh +++ b/util/ci/script.sh @@ -9,8 +9,12 @@ install_linux_deps() { } run_build() { - cmake . -DCMAKE_BUILD_TYPE=Debug \ + local args=( + -DCMAKE_BUILD_TYPE=Debug -DENABLE_LEVELDB=1 -DENABLE_POSTGRESQL=1 -DENABLE_REDIS=1 + ) + [[ "$CXX" == clang* ]] && args+=(-DCMAKE_CXX_FLAGS="-fsanitize=address") + cmake . "${args[@]}" make -j2 }