From: Kirill Isakov Date: Sat, 14 Aug 2021 19:08:53 +0000 (+0600) Subject: FreeBSD CI: unbreak clang-tidy. X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=c1e1612fae0f18bf3a5538dddf3de385b32b087b;p=tinc FreeBSD CI: unbreak clang-tidy. compiledb does not like the BSD make when running the -j flag. -n (for some weird reason) also produces an empty file list. --- diff --git a/.ci/tidy/run.sh b/.ci/tidy/run.sh index 8af4767a..c5951a20 100755 --- a/.ci/tidy/run.sh +++ b/.ci/tidy/run.sh @@ -27,9 +27,7 @@ for path in $paths; do done if ! [ -f compile_commands.json ]; then - # Running compiledb directly on this doesn't work on FreeBSD for some reason. - make -j2 all extra - compiledb -n make check + compiledb make all extra fi echo >&2 "Running clang-tidy without $paths"