]> tinc-vpn.org Git - tinc/blobdiff - .ci/warn/run.sh
CI: cross-compilation; build packages on every push.
[tinc] / .ci / warn / run.sh
similarity index 71%
rename from .github/workflows/warn/run.sh
rename to .ci/warn/run.sh
index f3b06db180ff3765c2169ad9f4d97c3c6a83399a..65f46eb22d71069d0ef3e5e8fa5fe2fbdd99bfd5 100755 (executable)
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
 
-set -eu
+set -euo pipefail
 
 test -n "$CC"
 export CFLAGS="${CFLAGS:-} -Werror"
@@ -11,8 +11,8 @@ check_warnings() {
   git clean -dfx
 
   autoreconf -fsi
-  ./configure --enable-uml --enable-vde --enable-miniupnpc "$@"
-
+  # shellcheck disable=SC2046
+  ./configure $(sh .ci/conf.sh)
   make -j"$(nproc)" all extra || result=$?
 }