ci: use Clang 22 in tidy task

Added -config-file as otherwise run-clang-tidy no-longer seemed able to
find the config file.
This commit is contained in:
fanquake committed 2026-03-03 17:04:56 +00:00
1 parent 7ea076f996
commit 4089682f5c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -174,7 +174,7 @@ if [ "${RUN_TIDY}" = "true" ]; then
mv tmp.json "${BASE_BUILD_DIR}/compile_commands.json"
cd "${BASE_BUILD_DIR}/src/"
if ! ( run-clang-tidy-"${TIDY_LLVM_V}" -quiet -load="/tidy-build/libbitcoin-tidy.so" "${MAKEJOBS}" | tee tmp.tidy-out.txt ); then
if ! ( run-clang-tidy-"${TIDY_LLVM_V}" -config-file="${BASE_ROOT_DIR}/src/.clang-tidy" -quiet -load="/tidy-build/libbitcoin-tidy.so" "${MAKEJOBS}" | tee tmp.tidy-out.txt ); then
grep -C5 "error: " tmp.tidy-out.txt
echo "^^^ ⚠️ Failure generated from clang-tidy"
false