[router] add rust cache for rust unit test (#10079)

This commit is contained in:
Keyang Ru
2025-09-05 09:58:59 -07:00
committed by GitHub
parent 045ab92dc0
commit 4f0e28d7fc
2 changed files with 6 additions and 0 deletions

View File

@@ -27,6 +27,11 @@ jobs:
run: |
bash scripts/ci/ci_install_rust.sh
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: sgl-router
- name: Run lint
run: |
source "$HOME/.cargo/env"

View File

@@ -377,6 +377,7 @@ Set `rust-analyzer.linkedProjects` to the absolute path of `Cargo.toml`:
The continuous integration pipeline includes comprehensive testing, benchmarking, and publishing:
#### Build & Test
1. **Build Wheels**: Uses `cibuildwheel` for manylinux x86_64 packages
2. **Build Source Distribution**: Creates source distribution for pip fallback
3. **Rust HTTP Server Benchmarking**: Performance testing of router overhead