Run clang-tidy in the Linux Clang build #11

Manually merged
github merged 1 commit from gh-pr/11/head into gh-pr/11/base 2026-11-26 20:44:05 +00:00
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-25 03:28 UTC · original
RavenCurseBurg:ci/clang-tidy-host-tools → main · +49 −18 · 7 files · 1 commits · merged 2026-11-25 12:51 UTC

Closes #10.

The Linux Clang job now runs clang-tidy as Ninja compiles the core library, diagnostic probe and tests. The configuration enables Clang's core, C++ and Unix analyzer checks plus checks for dangling handles and use after move. A diagnostic fails the build. Local builds can opt in with CMake's existing CMAKE_CXX_CLANG_TIDY setting.

The build guide includes the commands to reproduce the check. The Phase 3 entry and generated roadmap charts reflect the change. CI analysis covers the Linux implementation of the host tooling. AnyPS5 builds separately.

Verification

All six jobs passed on the fork, including Linux Clang with clang-tidy enabled, Linux GCC, Windows MSVC and the pinned AnyPS5 relinker suite. The validation branch differs from this PR only in the branch name that triggers CI on push. GitHub Actions run

  • On Ubuntu 22.04.5, the documented analysis preset built this exact commit using CMake 3.21.0, Clang 14.0.0 and clang-tidy 14.0.0. Both CTest entries passed. Minimum-version build log
  • Built the Release CI preset on Windows with MinGW-w64 GCC 15.2, Ninja and warnings as errors. Rebuilt with clang-tidy 22.1.8 enabled. Both builds passed CTest, including the 60 C++ cases and the probe mount integration test.
  • Compiled a separate sample that reads a moved-from string. With the repository's configuration, clang-tidy reported bugprone-use-after-move and Ninja exited 1.
  • Ran the 41 Python tooling tests, 10 generated-fixture app0 tests, the progress freshness check and git diff --check. All passed.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).

**@⁠RavenCurseBurg** on GitHub · 2026-11-25 03:28 UTC · [original](https://github.com/JamesCicada/GTAVI-Recomp/pull/11) `RavenCurseBurg:ci/clang-tidy-host-tools` → `main` · +49 −18 · 7 files · 1 commits · merged 2026-11-25 12:51 UTC Closes #10. The Linux Clang job now runs clang-tidy as Ninja compiles the core library, diagnostic probe and tests. The configuration enables Clang's core, C++ and Unix analyzer checks plus checks for dangling handles and use after move. A diagnostic fails the build. Local builds can opt in with CMake's existing `CMAKE_CXX_CLANG_TIDY` setting. The build guide includes the commands to reproduce the check. The Phase 3 entry and generated roadmap charts reflect the change. CI analysis covers the Linux implementation of the host tooling. AnyPS5 builds separately. ### Verification All six jobs passed on the fork, including Linux Clang with clang-tidy enabled, Linux GCC, Windows MSVC and the pinned AnyPS5 relinker suite. The validation branch differs from this PR only in the branch name that triggers CI on push. [GitHub Actions run](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45540418625) - On Ubuntu 22.04.5, the documented analysis preset built this exact commit using CMake 3.21.0, Clang 14.0.0 and clang-tidy 14.0.0. Both CTest entries passed. [Minimum-version build log](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45559109108/job/139018244311) - Built the Release CI preset on Windows with MinGW-w64 GCC 15.2, Ninja and warnings as errors. Rebuilt with clang-tidy 22.1.8 enabled. Both builds passed CTest, including the 60 C++ cases and the probe mount integration test. - Compiled a separate sample that reads a moved-from string. With the repository's configuration, clang-tidy reported `bugprone-use-after-move` and Ninja exited 1. - Ran the 41 Python tooling tests, 10 generated-fixture app0 tests, the progress freshness check and `git diff --check`. All passed. AI-assisted with Codex + GPT-6.2 Astra (xhigh).
Use CMake's clang-tidy integration to check the host library, probe and tests. Document the local command and update the Phase 3 roadmap.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:44:03 +00:00
github manually merged commit 7e541267da into gh-pr/11/base 2026-11-26 20:44:05 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.