zvec/.github
egolearner 3e98314d7c
feat(ci): speed up clang-tidy CI workflow (#438)
- Add `clang_tidy_deps` CMake target that only builds generated headers
  (protobuf, Arrow, glog, gflags, lz4) instead of full `zvec_db`
- Run clang-tidy in parallel via `xargs -P $(nproc)` with per-file logs
- Split actions/cache into restore/save to ensure cache is saved even
  when clang-tidy fails, without caching incomplete build artifacts
- Shallow-clone submodules with `--depth 1`
- Bump ccache size from 100M to 500M
- Add `--quiet` to suppress noisy clang-tidy summary lines
- Remove redundant concurrency block from reusable workflow

Performance comparison (3 runs, same repo):

| Step            | Before  | After (cold) | After (warm) |
|-----------------|---------|--------------|--------------|
| Submodule clone | 66s     | 49s          | 28s          |
| Build deps      | 70s     | 21s          | 0s (skipped) |
| Cache restore   | 1s      | 1s           | 12s          |
| Total           | 3m03s   | 2m34s        | 1m46s        |

Dominant win: reduced build target (~49s). Headers cache adds ~9s net.
`--depth 1` contributes ~15s (with network variance).
2026-06-02 10:28:05 +08:00
..
ISSUE_TEMPLATE feat(docs): add join us (#54) 2026-02-02 18:49:02 +08:00
workflows feat(ci): speed up clang-tidy CI workflow (#438) 2026-06-02 10:28:05 +08:00
CODEOWNERS chore: update codeowners (#269) 2026-04-02 16:12:07 +08:00
auto-assign-config.yml ci: auto pr assign by CODEOWNERS (#249) 2026-03-23 19:59:34 +08:00
codecov.yml Initial commit 2025-12-30 11:02:17 +08:00
dependabot.yml ci: add dependabot (#181) 2026-02-27 11:45:24 +08:00