mirror of
https://github.com/huggingface/xet-core.git
synced 2026-06-04 13:30:29 +08:00
Acknowledged that running "cargo bench --no-run" on every test platform is slow. This PR - extracts benchmark compilation verification from the Linux and macOS build_and_test jobs into a dedicated `check-bench-compiles` job so it runs in parallel with the cargo test jobs; - also skips compiling "git_xet" in release mode which itself doesn't contain benchmarks and takes the longest to compile due to optimized linking; - also removes unused clippy component installs from Windows and macOS toolchain setup. See below that the `check-bench-compiles` job finishes faster than `build_and_test-linux` and `build_and_test-win`, so it's not introducing extra wait time.