From c251845a6a491b8bfca53beb073bd538c951bc3f Mon Sep 17 00:00:00 2001 From: Goober5000 Date: Mon, 6 Jul 2026 13:28:07 -0400 Subject: [PATCH] CI: stop running clang-tidy on QtFRED sources ENABLE_QTFRED=OFF, so QtFRED is no longer built. The clang-tidy regex still selected qtfred/ files, causing clang-tidy to parse them with no Qt include paths and fail on . Drop QtFRED from the regex so tidy only lints what CI builds. We'll need to roll this back once QtFRED is part of workflows again. Co-Authored-By: Claude Opus 4.8 (1M context) --- ci/linux/clang_tidy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/linux/clang_tidy.sh b/ci/linux/clang_tidy.sh index 8e514ef40fe..6b57627c396 100755 --- a/ci/linux/clang_tidy.sh +++ b/ci/linux/clang_tidy.sh @@ -26,5 +26,5 @@ git diff -U0 --no-color "$BASE_COMMIT..$2" | \ -extra-arg="-DWITH_VULKAN" \ -extra-arg="-DVULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1" \ -extra-arg="-DVK_NO_PROTOTYPES" \ - -regex '(code(?!((\/graphics\/shaders\/compiled)|(\/globalincs\/windebug)|(\/def_files\/data)))|freespace2|qtfred|test\/src|build|tools)\/.*\.(cpp|h)' \ + -regex '(code(?!((\/graphics\/shaders\/compiled)|(\/globalincs\/windebug)|(\/def_files\/data)))|freespace2|test\/src|build|tools)\/.*\.(cpp|h)' \ -clang-tidy-binary /usr/bin/clang-tidy-16 -j$(nproc) -export-fixes "$(pwd)/clang-fixes.yaml"