]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - tests/ci/run.sh
ci: tentative to also build on FreeBSD/NetBSD/OpenBSD
[thirdparty/lldpd.git] / tests / ci / run.sh
index 5f619c04cbd94772118240d3fb9ee643c77dea87..56b781b9cdd55cc6aa860e0f5d6d3b5bccdf4b34 100755 (executable)
@@ -16,6 +16,10 @@ case "$(uname -s)" in
         LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS LDFLAGS=-mmacosx-version-min=10.9"
         MAKE_ARGS=""
         ;;
+    OpenBSD)
+        export AUTOCONF_VERSION=2.71
+        export AUTOMAKE_VERSION=1.16
+        ;;
 esac
 
 ./autogen.sh
@@ -28,7 +32,6 @@ make check ${MAKE_ARGS-CFLAGS=-Werror} || {
     [ ! -f tests/test-suite.log ] || cat tests/test-suite.log
     exit 1
 }
-make distcheck
 
 case "$(uname -s)" in
     Darwin)
@@ -37,6 +40,8 @@ case "$(uname -s)" in
         otool -l osx/lldpd*/usr/local/sbin/lldpd
         ;;
     Linux)
+        make distcheck
+
         # Integration tests
         cd tests/integration
         sudo $(which python3) -m pytest -n 5 -vv --boxed || \