From 49a65becffe5d954c1e8182fa253c10eb85abc36 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Tue, 30 Jun 2026 03:44:35 +0200 Subject: [PATCH] CI/CD: updated cpp to reduce false flags, focus on dev tidy check --- .gitea/workflows/cpp.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/cpp.yml b/.gitea/workflows/cpp.yml index ffe41a3..c554b29 100644 --- a/.gitea/workflows/cpp.yml +++ b/.gitea/workflows/cpp.yml @@ -16,7 +16,9 @@ jobs: fetch-depth: 0 - name: Configure - run: cmake -B build -G Ninja -DENABLE_MODULES=plugin -DCMAKE_BUILD_TYPE=Release + run: cmake -B build -G Ninja -DENABLE_MODULES=plugin \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS="-I/usr/include/qt6/QtCanvasPainter" - name: Build run: ninja -C build @@ -26,4 +28,4 @@ jobs: run: | set -o pipefail run-clang-tidy -p build -j $(nproc) -header-filter="Plugins/.*" 2>&1 | \ - grep -v 'Suppressed\|non-user\|non-system\|unknown argument.*mno-direct' + grep -v 'Suppressed\|non-user\|non-system\|unknown argument.*mno-direct\|Found compiler error'