X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.builds%2Ffreebsd.yml;h=547032c49cf781878c49f3f277bfc82a3bd9a0cd;hb=0384469e00910ae2b7d32740945d25c80babbcae;hp=fbd6670c778ab159ebf0c8535d32478a37de9e5a;hpb=c88ea49679b41ec5dc675a4164d0c26eee425ff7;p=tinc diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index fbd6670c..547032c4 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -1,7 +1,6 @@ image: freebsd/13.x packages: - - gmake - autotools - openssl - lzo2 @@ -10,6 +9,10 @@ packages: - miniupnpc - readline - texinfo + - vde2 + - libgcrypt + - llvm12 + - py38-pip environment: CFLAGS: -I/usr/local/include -L/usr/local/lib @@ -21,12 +24,25 @@ 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: | + export PATH=$PATH:$HOME/.local/bin + pip install --user compiledb + cd tinc + compiledb -n make check + find src \ + ! '(' -path src/solaris -prune ')' \ + ! '(' -path src/mingw -prune ')' \ + ! '(' -path src/linux -prune ')' \ + ! -name tunemu.c \ + -name '*.c' \ + -exec clang-tidy12 --header-filter='.*' '{}' +