summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-12-09 11:53:54 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-12-09 15:30:17 +0100
commit35c7aac3c61190a4d63a7f0bbbe45e4dd09ba4af (patch)
tree125a6a170bbdd5f14b71ac2170f11c2f1b89795b /.cirrus.yml
parentee263de7a378e701f15e58879f36fdcfe8742006 (diff)
downloadcurl-35c7aac3c61190a4d63a7f0bbbe45e4dd09ba4af.tar.gz
cirrus: enable clang sanitizers on freebsd 13
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index dc7e2299a..df9106d47 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -21,6 +21,13 @@ task:
- pkg delete -y curl
configure_script:
- ./buildconf
+ - case `uname -r` in
+ 13.0*)
+ export CC=clang;
+ export CFLAGS="-fsanitize=address,undefined,signed-integer-overflow -fno-sanitize-recover=undefined,integer -Wformat -Werror=format-security -Werror=array-bounds -g"
+ export CXXFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined,integer -Wformat -Werror=format-security -Werror=array-bounds -g"
+ export LDFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined,integer" ;;
+ esac
- ./configure --prefix="${HOME}"/install --enable-debug --with-libssh2 --with-brotli --with-gssapi --with-libidn2 --enable-manual --enable-ldap --enable-ldaps --with-librtmp --with-libmetalink --with-libpsl --with-nghttp2 || { tail -300 config.log; false; }
compile_script:
- make V=1