[ci] add cmake-asan build type

master
Stefan Bühler 11 months ago committed by Glenn Strauss
parent ae2fb97494
commit f6d6295ab4
  1. 8
      scripts/ci-build.sh

@ -49,11 +49,17 @@ case "${build}" in
make -j 2
make check
;;
"cmake")
"cmake"|"cmake-asan")
mkdir cmakebuild
cd cmakebuild
if [ "${build}" = "cmake-asan" ]; then
asan_opts="-DBUILD_SANITIZE_ADDRESS=ON -DBUILD_SANITIZE_UNDEFINED=ON"
else
asan_opts=""
fi
cmake \
-DBUILD_EXTRA_WARNINGS=ON \
${asan_opts} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DWITH_PCRE2=ON \
-DWITH_ZSTD=ON \

Loading…
Cancel
Save