]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - travis-ci/managers/debian.sh
Merge pull request #15840 from Werkov/mkosi-opensuse
[thirdparty/systemd.git] / travis-ci / managers / debian.sh
index ac86e6274e0c86f2643a9abd3c44f758971d3a0f..60f6237606f6269d8edc7bdb3254ae6ab731820a 100755 (executable)
@@ -20,9 +20,12 @@ ADDITIONAL_DEPS=(python3-libevdev
                  clang
                  perl
                  libpwquality-dev
+                 fdisk
                  libfdisk-dev
                  libp11-kit-dev
-                 libssl-dev)
+                 libssl-dev
+                 libzstd-dev
+                 zstd)
 
 function info() {
     echo -e "\033[33;1m$1\033[0m"
@@ -62,7 +65,10 @@ for phase in "${PHASES[@]}"; do
         RUN_ASAN|RUN_CLANG_ASAN)
             if [[ "$phase" = "RUN_CLANG_ASAN" ]]; then
                 ENV_VARS="-e CC=clang -e CXX=clang++"
-                MESON_ARGS="-Db_lundef=false" # See https://github.com/mesonbuild/meson/issues/764
+                # Build fuzzer regression tests only with clang (for now),
+                # see: https://github.com/systemd/systemd/pull/15886#issuecomment-632689604
+                # -Db_lundef=false: See https://github.com/mesonbuild/meson/issues/764
+                MESON_ARGS="-Db_lundef=false -Dfuzz-tests=true --optimization=1"
             fi
             docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Db_sanitize=address,undefined -Dsplit-usr=true $MESON_ARGS build
             $DOCKER_EXEC ninja -v -C build