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
..
2026-02-10 14:17:49 +08:00
2026-02-25 11:22:18 +08:00
2026-04-02 22:26:00 +08:00
2026-04-20 20:14:21 +08:00
2026-03-18 16:16:49 +08:00
2026-05-12 23:14:17 +08:00
2026-05-12 15:48:48 +08:00
2026-05-12 23:14:17 +08:00
2026-05-12 15:48:48 +08:00
2026-04-07 19:23:04 +08:00
2026-03-30 20:47:34 +08:00
2026-04-07 10:01:46 +08:00
2026-03-30 20:47:34 +08:00
2026-06-02 10:28:05 +08:00
2026-04-13 11:18:35 +08:00
2026-04-21 14:39:25 +08:00
2026-04-13 11:18:35 +08:00
2026-05-19 10:45:42 +08:00