From 71d744f86d305d8afc10313f2b0c4b358efeb67b Mon Sep 17 00:00:00 2001 From: Petr Danecek Date: Thu, 25 Feb 2021 16:00:18 +0000 Subject: [PATCH] Make warnings into errors for automated tests --- .appveyor.yml | 2 +- .cirrus.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 49aa617a2..f2cd428b4 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -43,7 +43,7 @@ build_script: - set MSYSTEM=MINGW64 - set PATH=C:/msys64/usr/bin;C:/msys64/mingw64/bin;%PATH% - "sh -lc \"(cd htslib; autoreconf -i)\"" - - "sh -lc \"autoreconf -i && ./configure && make -j2\"" + - "sh -lc \"autoreconf -i && ./configure --enable-werror && make -j2\"" test_script: - set HOME=. diff --git a/.cirrus.yml b/.cirrus.yml index 37763567e..a3e46bbe8 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -34,7 +34,7 @@ compile_template: &COMPILE if test "$USE_CONFIG" = "yes"; then (cd $HTSDIR && autoreconf -i) autoreconf -i - ./configure || (cat config.log; /bin/false) + ./configure --enable-werror || (cat config.log; /bin/false) make -j3 else make -j3 plugindir=$CIRRUS_WORKING_DIR/plugins -e