summaryrefslogtreecommitdiff
path: root/ci/build-check-sanitized.sh
blob: f0d984310c85f37bb02a13e7325ada158df0abf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/bash
# Build with ASAN and UBSAN + unit tests.

set -xeuo pipefail

dn=$(dirname $0)
. ${dn}/libbuild.sh
# We leak global state in a few places, fixing that is hard.
export ASAN_OPTIONS='detect_leaks=0'
build --disable-gtk-doc --with-curl --with-openssl --enable-sanitizers
make check