Commit Graph
108 Commits
Author SHA1 Message Date
Alexander ShaduriandClaude Opus 5.5 c90e4a727e CI: Keep the CodeQL category; fix Codacy findings in the report script
- 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>
2026-10-25 19:22:56 +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
Alexander ShaduriandClaude Opus 5.5 4ec5de9b75 CI: Post a deduplicated clang-tidy / GCC warnings report on PRs
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>
2026-10-25 19:15:34 +01:00
Alexander ShaduriandClaude Opus 5.5 a2ba01f4d9 CI: Harden and extend workflows
- 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>
2026-10-25 19:11:41 +01:00
Alexander ShaduriandClaude Opus 5.5 b4d774bb1f CI: Build Linux on Ubuntu 22.04, 24.04 and 26.04 via a matrix
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>
2026-10-25 18:58:45 +01:00
Alexander ShaduriandClaude Opus 5.5 2bbd6a60f6 CI: Move the Windows build into a reusable workflow, bump actions
- 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>
2026-10-25 18:49:04 +01:00
Alexander ShaduriandClaude Opus 5.5 b668603213 CI: Switch Windows builds from MSYS2 MINGW64 to UCRT64
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>
2026-10-25 18:38:27 +01:00
Alexander Shaduri c14d7a7791 Windows: Manually install nsis since it's no longer available by default in CI. 2026-03-04 22:33:57 +01:00
Alexander Shaduri be601f514d Upgrade CodeQL actions to version 4
Updated CodeQL actions to version 4 in the workflow configuration.
2025-11-18 19:44:28 +01:00
Alexander Shaduri a7c7c8190c Update CodeQL SARIF upload action to v4 2025-11-18 19:43:57 +01:00
Alexander Shaduri f62de567df MSYS no longer supports 32-bit Windows, so disable it in CI. 2025-04-25 12:12:52 +04:00
Alexander Shaduri b2912950c9 Fixed Windows CI packaging. 2025-02-24 16:08:36 +04:00
Alexander Shaduri 23d06c4bc7 Cleanup. 2025-02-24 16:03:02 +04:00
Alexander Shaduri 283792715c Update CI to use GCC14. 2025-02-24 14:03:40 +04:00
Alexander Shaduri 58d2a8b58f Windows: Use older librsvg in CI to support Windows 7 (#71). 2025-02-13 17:11:33 +04:00
Alexander Shaduri d51820476b Windows: Use older librsvg in CI to support Windows 7 (#71). 2025-02-13 16:35:55 +04:00
Alexander Shaduri bfce801cc5 Windows: Use older librsvg in CI to support Windows 7 (#71). 2025-02-13 16:30:36 +04:00
Alexander Shaduri 63f32e4d8b Windows: Use older librsvg in CI to support Windows 7 (#71). 2025-02-13 16:25:47 +04:00
Alexander Shaduri 0fc5d208bb Support Ubuntu 22.04 in CI. 2025-02-07 13:00:29 +04:00
Alexander Shaduri 8b3b500034 Support Ubuntu 22.04 in CI. 2025-02-07 11:51:13 +04:00
Alexander Shaduri dea940222e GitHub CI: Fixed invalid artifact names. 2024-11-26 14:57:21 +04:00
Alexander Shaduri afd6ce0a1f Fix CI. 2024-05-29 13:36:00 +04:00
Alexander Shaduri fb62473b0b Fix CI. 2024-05-29 12:49:04 +04:00
Alexander Shaduri 9b1bc82353 Extract smartmontools before running cmake. 2024-05-29 12:23:51 +04:00
Alexander Shaduri ec50159a15 Add listing of files for debugging. 2024-05-29 11:06:38 +04:00
Alexander Shaduri 75f50cd5bb Update workflows with latest permissions. 2024-05-28 11:19:51 +04:00
Alexander Shaduri 844f6ed86f Add workflow for creating Windows Release packages. 2024-05-22 13:44:06 +04:00
Alexander Shaduri 7a8cbe202e Use llvm17 in FreeBSD. 2024-05-22 13:34:56 +04:00
Alexander Shaduri ec2a4648e1 Upgrade freebsd build to latest version of action. 2024-05-22 12:59:23 +04:00
Alexander Shaduri 84867cc474 Create and use cmake toolchains for msys2. 2024-05-21 16:46:53 +04:00
Alexander Shaduri 13c644efdc List msys2 files for debugging. 2024-05-21 14:47:26 +04:00
Alexander Shaduri 5085c35269 List msys2 files for debugging. 2024-05-21 14:46:30 +04:00
Alexander Shaduri 7cef499e67 Use ubuntu-24.04 for Actions as ubuntu-latest does not have gcc13 as of now. 2024-05-16 17:04:37 +04:00
Alexander Shaduri d916dc4a9d Removed mention of any pcre dependency. 2024-05-16 16:47:44 +04:00
Alexander Shaduri e88a0b5ca3 Limit the VM memory. 2024-05-15 13:42:50 +04:00
Alexander Shaduri 0f8c6039ce Update GitHub actions. 2024-05-15 13:12:49 +04:00
Alexander Shaduri 2abae1c673 Update GitHub actions. 2024-05-15 13:07:05 +04:00
Alexander Shaduri 1e16d7b521 Update GitHub actions. 2024-05-15 12:26:40 +04:00
Alexander Shaduri 55dade8b51 Install clang. 2024-05-15 12:18:42 +04:00
Alexander Shaduri 2e53d3e4c9 Try AppleClang 16. 2024-05-15 12:09:52 +04:00
Alexander Shaduri 4a0ce23184 Compile with AppleClang 15. 2024-05-15 12:00:33 +04:00
Alexander Shaduri 02535eeeb2 Update GitHub actions. 2024-05-14 18:35:42 +04:00
Alexander Shaduri 5746ab5ed9 GitHub actions: Fix conflicting artifact names. 2024-04-23 16:32:59 +04:00
Alexander Shaduri ac90991a27 GitHub actions: Support smartmontools 7.4 installer directory structure when extracting. 2024-04-23 14:11:31 +04:00
Alexander Shaduri 531d39d888 Smartmontools in Windows uses update-smart-drivedb.ps1 now, so use that. 2024-04-23 13:51:51 +04:00
Alexander Shaduri 68576e9a95 Use smartmontools 7.4 in CI. 2024-04-23 13:31:01 +04:00
Alexander Shaduri aa0c2e520f Updated GitHub actions to use Node20 versions. 2024-04-22 22:19:14 +04:00
Alexander Shaduri c065e55ca1 GH Actions: Use GCC 13, that is the minimum required now. 2024-04-22 18:08:34 +04:00
Alexander Shaduri 2c163503d9 GH Actions: Use GCC 12. 2024-04-22 17:48:34 +04:00