X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.builds%2Ffreebsd.yml;h=a52803b289f3baa870beedfb8cf03b20f9226821;hb=171810e42712c7cfcd7bcfb5fe6c35f2a935e4c6;hp=fbd6670c778ab159ebf0c8535d32478a37de9e5a;hpb=c79f93d90fdb12c839ca59336e9bf571e8cbbcaa;p=tinc diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index fbd6670c..a52803b2 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -1,7 +1,7 @@ image: freebsd/13.x packages: - - gmake + - coreutils - autotools - openssl - lzo2 @@ -10,6 +10,10 @@ packages: - miniupnpc - readline - texinfo + - vde2 + - libgcrypt + - llvm12 + - py38-pip environment: CFLAGS: -I/usr/local/include -L/usr/local/lib @@ -21,12 +25,20 @@ tasks: - configure: | cd tinc autoreconf -fsi - ./configure --with-miniupnpc + ./configure --enable-miniupnpc --enable-vde - build: | cd tinc - gmake -j$(sysctl -n hw.ncpu) + make -j$(sysctl -n hw.ncpu) - test: | cd tinc - gmake check-recursive VERBOSE=1 + make check-recursive VERBOSE=1 + + - lint: | + mkdir -p ~/.local/bin + ln -f -s "$(which clang-tidy12)" ~/.local/bin/clang-tidy + pip install --user compiledb + cd tinc + export PATH=$PATH:$HOME/.local/bin + sh .ci/tidy/run.sh