From d32ccce8e1b73e535e8e2facf04548f7f482cb08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 7 May 2025 16:52:59 +0200 Subject: [PATCH 1/2] skip-ctu --- lib/cppcheck.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 429555e8251..1aef2853094 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -1999,6 +1999,8 @@ void CppCheck::analyseClangTidy(const FileSettings &fileSettings) bool CppCheck::analyseWholeProgram() { + return false; + bool errors = false; // Analyse the tokens CTU::FileInfo ctu; @@ -2025,6 +2027,8 @@ bool CppCheck::analyseWholeProgram() unsigned int CppCheck::analyseWholeProgram(const std::string &buildDir, const std::list &files, const std::list& fileSettings, const std::string& ctuInfo) { + return mLogger->exitcode(); + executeAddonsWholeProgram(files, fileSettings, ctuInfo); if (mSettings.checks.isEnabled(Checks::unusedFunction)) CheckUnusedFunctions::analyseWholeProgram(mSettings, mErrorLogger, buildDir); From 739987382cd1f6bb1d1f4452704c9baa8962a3a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 7 May 2025 18:01:59 +0200 Subject: [PATCH 2/2] build --- .github/workflows/release-windows.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index bce0889a7c1..550da73ab75 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -2,13 +2,7 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: release-windows -on: - push: - tags: - - '2.*' - schedule: - - cron: '0 0 * * *' - workflow_dispatch: +on: [push] permissions: contents: read