zvec/.github/workflows
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
..
docker feat: support linux arm64 ci and release (#71) 2026-02-10 14:17:49 +08:00
scripts ci: continuous benching (#110) 2026-02-25 11:22:18 +08:00
01-ci-pipeline.yml feat(ci): integrate clang-tidy for changed C/C++ files (#116) 2026-04-20 20:14:21 +08:00
02-lint-check.yml chore: android ci needs lint first (#240) 2026-03-18 16:16:49 +08:00
03-macos-linux-build.yml feat(test): enable parallel tests (#384) 2026-05-12 23:14:17 +08:00
04-android-build.yml ci: add ccache/sccache compilation caching to speed up CI builds (#360) 2026-05-12 15:48:48 +08:00
05-windows-build.yml feat(test): enable parallel tests (#384) 2026-05-12 23:14:17 +08:00
06-ios-build.yml ci: add ccache/sccache compilation caching to speed up CI builds (#360) 2026-05-12 15:48:48 +08:00
_build_wheel_job.yml fix(ci): fix wheel version detection & windows wheel ci (#303) 2026-04-02 22:26:00 +08:00
auto-assign.yml ci(deps): bump kentaro-m/auto-assign-action from 2.0.0 to 2.0.2 (#278) 2026-04-07 19:23:04 +08:00
build_test_wheel.yml feat: windows support (#216) 2026-03-30 20:47:34 +08:00
build_wheel.yml feat: windows support (#216) 2026-03-30 20:47:34 +08:00
build_wheel_on_windows.yml ci(deps): bump actions/download-artifact from 4 to 8 (#317) 2026-04-07 10:01:46 +08:00
clang_tidy.yml feat(ci): speed up clang-tidy CI workflow (#438) 2026-06-02 10:28:05 +08:00
community-pr-handler.yml ci(deps): bump actions/github-script from 8 to 9 (#334) 2026-04-13 11:18:35 +08:00
continuous_bench.yml ci: disable benchmark ci temp (#362) 2026-04-21 14:39:25 +08:00
issue-auto-assign.yml ci(deps): bump actions/github-script from 8 to 9 (#334) 2026-04-13 11:18:35 +08:00
nightly_coverage.yml ci: skip timing-sensitive GIL test in coverage builds (#412) 2026-05-19 10:45:42 +08:00