Skip to content

Commit

Permalink
Run CI test also with ASan
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Apr 20, 2024
1 parent 40a5e16 commit dd1904a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion util/ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit dd1904a

Please sign in to comment.