From: Kirill Isakov Date: Sat, 10 Jul 2021 15:11:27 +0000 (+0600) Subject: CI: add support for FreeBSD/NetBSD/OpenBSD through sourcehut X-Git-Url: http://tinc-vpn.org/git/browse?a=commitdiff_plain;h=83fa4ea34b22c69286579ca4cdaafd3c869677cc;p=tinc CI: add support for FreeBSD/NetBSD/OpenBSD through sourcehut --- diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml new file mode 100644 index 00000000..5afae0fc --- /dev/null +++ b/.builds/freebsd.yml @@ -0,0 +1,31 @@ +image: freebsd/13.x + +packages: + - gmake + - autotools + - openssl + - lzo2 + - ncurses + - miniupnpc + - readline + - texinfo + +environment: + CFLAGS: -I/usr/local/include -L/usr/local/lib + +sources: + - https://github.com/gsliepen/tinc + +tasks: + - configure: | + cd tinc + autoreconf -fsi + ./configure --with-miniupnpc + + - build: | + cd tinc + gmake -j$(sysctl -n hw.ncpu) + + - test: | + cd tinc + gmake check-recursive VERBOSE=1 diff --git a/.builds/netbsd.yml b/.builds/netbsd.yml new file mode 100644 index 00000000..633a982e --- /dev/null +++ b/.builds/netbsd.yml @@ -0,0 +1,32 @@ +image: netbsd/9.x + +packages: + - gmake + - automake + - autoconf + - openssl + - lzo + - miniupnpc + - readline + - gtexinfo + +environment: + CFLAGS: -I/usr/pkg/include -L/usr/pkg/lib + +sources: + - https://github.com/gsliepen/tinc + +tasks: + - configure: | + cd tinc + autoreconf -fsi + ./configure --with-miniupnpc + + - build: | + cd tinc + gmake -j$(sysctl -n hw.ncpu) + + - test: | + cd tinc + export LD_LIBRARY_PATH=/usr/pkg/lib + gmake check-recursive VERBOSE=1 diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml new file mode 100644 index 00000000..d8b2ea12 --- /dev/null +++ b/.builds/openbsd.yml @@ -0,0 +1,33 @@ +image: openbsd/6.9 + +packages: + - gmake + - automake-1.16.3 + - autoconf-2.71 + - openssl-1.1.1k + - lzo2 + - miniupnpc + - readline + - texinfo + +environment: + AUTOCONF_VERSION: 2.71 + AUTOMAKE_VERSION: 1.16 + CFLAGS: -I/usr/local/include -L/usr/local/lib + +sources: + - https://github.com/gsliepen/tinc + +tasks: + - configure: | + cd tinc + autoreconf -fsi + ./configure --with-miniupnpc + + - build: | + cd tinc + gmake -j$(sysctl -n hw.ncpu) + + - test: | + cd tinc + gmake check-recursive VERBOSE=1 diff --git a/.gitignore b/.gitignore index d9d38dc9..e7bb9ef4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .* !.github/ +!.builds/ !.gitignore !.astylerc *.a