X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.builds%2Ffreebsd.yml;h=a52803b289f3baa870beedfb8cf03b20f9226821;hb=8c10a4131f19dc27b0bc56ef48ae481d1fa03cb0;hp=547032c49cf781878c49f3f277bfc82a3bd9a0cd;hpb=0384469e00910ae2b7d32740945d25c80babbcae;p=tinc diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index 547032c4..a52803b2 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -1,6 +1,7 @@ image: freebsd/13.x packages: + - coreutils - autotools - openssl - lzo2 @@ -35,14 +36,9 @@ tasks: make check-recursive VERBOSE=1 - lint: | - export PATH=$PATH:$HOME/.local/bin + mkdir -p ~/.local/bin + ln -f -s "$(which clang-tidy12)" ~/.local/bin/clang-tidy 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='.*' '{}' + + export PATH=$PATH:$HOME/.local/bin + sh .ci/tidy/run.sh