[router] add rust cache for rust unit test (#10079)
This commit is contained in:
5
.github/workflows/pr-test-rust.yml
vendored
5
.github/workflows/pr-test-rust.yml
vendored
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user