From: Daniel Gustafsson Date: Wed, 8 Sep 2021 08:14:45 +0000 (+0200) Subject: cirrus: Add FreeBSD 13.0 job and disable sanitizer build X-Git-Tag: curl-7_79_0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71f9a8fa6f52723c0492c61ded070386706e99c6;p=thirdparty%2Fcurl.git cirrus: Add FreeBSD 13.0 job and disable sanitizer build As alluded to the in the now removed comment, a 13.0 image became available and is now ready to be used. The sanitizer builds were running on the 12.1 image which since has been removed from the config, leaving the builds not running at all. When enabled it turns out that they don't actually work due to very long timeouts in executing the tests, so keep the disabled for now but a bit more controlled. Closes #7592 --- diff --git a/.cirrus.yml b/.cirrus.yml index 9d54219a91..e42446db46 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -26,8 +26,9 @@ freebsd_task: name: FreeBSD matrix: - # A stable 13.0 image likely won't be available before early 2021 - # image_family: freebsd-13-0-snap + - name: FreeBSD 13.0 + freebsd_instance: + image_family: freebsd-13-0 - name: FreeBSD 12.2 freebsd_instance: image_family: freebsd-12-2 @@ -49,13 +50,14 @@ freebsd_task: - easy_install "impacket" configure_script: - ./buildconf - - case `uname -r` in - 12.1*) - 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 + # Building with the address sanitizer is causing unexplainable test issues due to timeouts + #- case `uname -r` in + # 12.2*) + # 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-openssl --with-libssh2 --with-brotli --with-gssapi --with-libidn2 --enable-manual --enable-ldap --enable-ldaps --with-librtmp --with-libpsl --with-nghttp2 || { tail -300 config.log; false; } compile_script: - make V=1 && cd tests && make V=1