X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.ci%2Fwarn%2Frun.sh;h=a4b3d9dcd4a778470bd667b0450553ee125a229e;hb=09dda64ce99668c918fada04b9ad6bf9cd2ab104;hp=65f46eb22d71069d0ef3e5e8fa5fe2fbdd99bfd5;hpb=7619f84393f824a84e20e03167304b27d3581ac0;p=tinc diff --git a/.ci/warn/run.sh b/.ci/warn/run.sh index 65f46eb2..a4b3d9dc 100755 --- a/.ci/warn/run.sh +++ b/.ci/warn/run.sh @@ -3,20 +3,15 @@ set -euo pipefail test -n "$CC" -export CFLAGS="${CFLAGS:-} -Werror" result=0 check_warnings() { git clean -dfx - - autoreconf -fsi - # shellcheck disable=SC2046 - ./configure $(sh .ci/conf.sh) - make -j"$(nproc)" all extra || result=$? + ./.ci/build.sh -Dwerror=true "$@" || result=$? } check_warnings -check_warnings --disable-legacy-protocol +check_warnings -Dcrypto=nolegacy exit $result