Run CI test also with ASan

This commit is contained in:
sfan5 2024-04-20 21:38:15 +02:00
parent 40a5e16e21
commit dd1904a667

View File

@ -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
}