]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cirrus: Add FreeBSD 13.0 job and disable sanitizer build
authorDaniel Gustafsson <daniel@yesql.se>
Wed, 8 Sep 2021 08:14:45 +0000 (10:14 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Wed, 8 Sep 2021 08:14:45 +0000 (10:14 +0200)
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

.cirrus.yml

index 9d54219a912c2555ff4717af88ce11f8d8cb0a91..e42446db46778b94c212aa7b4daf1a260851f451 100644 (file)
@@ -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