mirror of
https://github.com/Z3Prover/z3
synced 2026-08-02 12:13:25 +00:00
Adds a scheduled workflow to build Z3 with the clang-tidy warning configuration being tracked in detlefs' PRs, including the latest `-Wgnu-anonymous-struct` flag from #10345. The workflow persists all emitted warnings as an artifact so warning regressions can be reviewed from each run. - **Workflow** - Adds `.github/workflows/clang-tidy-warning-report.yml` - Runs daily and on manual dispatch - Uses Ubuntu + CMake/Ninja with `clang` and `clang-tidy` - **Warning coverage** - Reuses the repository's existing Clang warning setup - Layers in the current pending detlefs warning flag: - `-Wgnu-anonymous-struct` - **Artifacts** - Captures: - `configure.log` - `build.log` - `combined.log` - `warnings.txt` - `status.txt` - Uploads them as a per-run artifact for inspection - **Failure behavior** - Still uploads logs on failure - Marks the workflow failed if configure or build fails, so broken clang-tidy runs are visible in Actions ```yaml CC=clang CXX=clang++ cmake -GNinja -S . -B build \ -DCMAKE_BUILD_TYPE=Debug \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DCMAKE_CXX_CLANG_TIDY=clang-tidy \ -DCMAKE_CXX_FLAGS="-Wgnu-anonymous-struct" ``` Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| agents | ||
| aw | ||
| prompts | ||
| scripts | ||
| skills | ||
| workflows | ||
| CI_MIGRATION.md | ||
| CI_TESTING.md | ||
| copilot-instructions.md | ||
| dependabot.yml | ||
| mcp.json | ||