From e024eb72b6ec45ef15543573168b93881c302ca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Mon, 6 Jul 2026 16:17:12 +0200 Subject: [PATCH 1/2] Build all instead of codegen, since codegen *sometimes* misses some components such as Keyboard.cpp or the assignment-client. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90753de619..9dccfe2a70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -248,7 +248,7 @@ jobs: if: matrix.id == 'codechecker' && github.event.action != 'tag' id: codechecker with: - build-command: cmake --build --preset conan-debug --target codegen + build-command: cmake --build --preset conan-debug skipfile: ${{ env.GITHUB_WORKSPACE }}/.github/codechecker/skipfile.txt # Allow static analyzers to analyze across files instead of one file at a time. ctu: true From 3484052588ed3ecf50ace158324aef9892971ef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Mon, 6 Jul 2026 16:18:55 +0200 Subject: [PATCH 2/2] Print CodeChecker's compilation database for debugging. --- .github/actions/debug-info/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/debug-info/action.yml b/.github/actions/debug-info/action.yml index 2cb281c92d..0ec1a779a2 100644 --- a/.github/actions/debug-info/action.yml +++ b/.github/actions/debug-info/action.yml @@ -15,3 +15,8 @@ runs: working-directory: build run: cat ./_CPack_Packages/win64/NSIS/NSISOutput.log || echo "No NSIS log found. Continuing…" + - name: Output CodeChecker JSON compilation database + if: matrix.id == 'codechecker' + shell: bash + continue-on-error: true + run: cat ${{ env.GITHUB_WORKSPACE }}/codechecker_codechecker_compilation_database.json