Commit Graph
4 Commits
Author SHA1 Message Date
Alexander ShaduriandClaude Opus 5.5 ee6f7c129b CI: Link warnings to the commit that was actually built
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>
2026-10-25 19:30:02 +01:00
Alexander ShaduriandClaude Opus 5.5 a3176d8344 CI: Make all warnings inspectable from the warnings report
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>
2026-10-25 19:28:24 +01:00
Alexander ShaduriandClaude Opus 5.5 327d916024 CI: Reorganize the warnings report for readability
- 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>
2026-10-25 19:20:46 +01:00
Alexander ShaduriandClaude Opus 5.5 46618d42ea CI: Gather warnings from every CI build into one PR report
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>
2026-10-25 19:18:46 +01:00