On pull requests, checkout builds the merge of the PR into the base
branch (github.sha), not the PR head. Link source lines to that commit
so the line numbers match the compiled code, and label it in the
report footer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Besides the PR comment, the report script now writes:
- a full report listing every unique warning, grouped by file, with
links to the source lines and the builds that reported each; it is
shown as the workflow run's job summary (up to 1 MiB), and
- warnings.txt, all unique warnings in file:line:col: warning: format
for IDEs and grep.
Both are uploaded as the "warnings-report" artifact, and the PR comment
links to the full report.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Instead of cutting the rendered text (which could leave open <details>
tags), list fewer warnings in changed files (200, 100, 50, 20) until the
report fits, then fall back to the summary tables with a link to the
workflow run. Long diagnostic messages are shortened to 300 characters.
Also drop the msys-style path conversion (/d/... -> d:/...), which
misread Linux paths with a single-letter top-level directory; the
save-build-log action already records Windows paths as D:/...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codacy enables both pydocstyle D212 and D213, which contradict each
other for multi-line docstrings. Keep the docstring to one line and
move the details into comments.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Use the full category of the previous CodeQL configuration
(.github/workflows/codeql-analysis.yml:analyze/language:cpp), so the
existing analysis keeps receiving results and its alerts get closed.
- warnings_report.py: rename the Warning tuple to CompilerWarning (it
shadowed the built-in), add docstrings for the __init__ methods and
start the module docstring on its first line.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Lead with a one-line verdict for the files changed by the PR, and
flag builds whose log is missing.
- List warnings in changed files grouped by file, with links to the
source lines at the PR head commit and the builds that reported them
("all compilers" when every compiler build did).
- Separate compiler warnings from clang-tidy findings; clang-tidy's
re-reported compiler diagnostics are left to the compiler builds.
- Move whole-project breakdowns (by type, by file) into collapsed
sections, and link the workflow run in the footer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add ci.yml, which calls tier 1 (Linux GCC, Windows UCRT64), tier 2
(macOS Apple Clang / LLVM, Linux Clang), sanitizers and clang-tidy as
reusable workflows, then posts a single warnings report to the PR.
Every build saves its log via the new save-build-log composite action
(with the platform title and its workspace path, so Windows and macOS
paths can be mapped to repository paths). The report lists per-platform
counts of warnings in changed files and in total, and the unique
warnings across all platforms, with the platforms that reported each.
The called workflows keep workflow_dispatch for manual runs; their own
push / pull_request triggers and concurrency settings move to ci.yml.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace clang-tidy.yml with warnings-report.yml, which builds with
clang-tidy 22 and with GCC 15 (project warning flags), then posts a
sticky PR comment with warnings in changed files and total warnings.
Warnings are deduplicated and limited to project files (dependencies,
system headers and generated files are excluded) by
.github/scripts/warnings_report.py. The comment is updated in place on
each push. For PRs from forks the token is read-only, so the report is
only written to the job summary.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Cancel superseded PR runs (concurrency), restrict the default token to
contents: read, and set timeout-minutes on every job.
- Bundle smartmontools 7.5 (was 7.4) in Windows packages.
- Add Dependabot updates for GitHub Actions.
- Tier 2: build Linux with clang (Ubuntu 24.04 / clang 18, Ubuntu 26.04 /
clang 22); re-enable the macOS Apple Clang build and use Homebrew
LLVM 20 instead of 17.
- Add a clang-tidy workflow (warnings summarized, non-fatal) and an
ASan + UBSan workflow that runs the tests.
- CodeQL: build manually with the project's CMake configuration instead
of autobuild, and drop the template boilerplate.
- FreeBSD: pin release 15.1, use LLVM 23 and fix the compiler name
(FreeBSD installs clang++NN, not clang++-NN).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the separate Ubuntu jobs with a single matrix job:
22.04 (GCC 11), 24.04 (GCC 14) and 26.04 (GCC 15). Upload packages
from every matrix entry under a per-version artifact name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add windows-msys2.yml, a reusable UCRT64 build workflow used by both
cmake-tier1.yml (RelWithDebInfo) and windows-release.yml (Release),
so the two no longer drift apart. Always install NSIS.
- Remove the dead 32-bit matrix entries and i686-only steps.
- Use pacboy for MSYS2 package names and a default msys2 shell.
- Bump actions/checkout and actions/upload-artifact to v7, and the
DevSkim SARIF upload to github/codeql-action v4.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MSYS2 has deprecated the MINGW64 and MINGW32 environments and removed
most of their packages, including gtkmm3, which broke the Windows CI.
- Build with the UCRT64 environment (mingw-w64-ucrt-x86_64-* packages).
- Remove the librsvg 2.58 downgrade step; those packages are no longer
available in the MSYS2 repository.
- Drop the MINGW32 release build (no gtkmm3 available anymore).
- Use the architecture, not the msystem, to pick per-arch steps, and list
$MINGW_PREFIX instead of hardcoded /mingw64 and /mingw32 paths.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>