diff --git a/.github/workflows/pr-test-rust.yml b/.github/workflows/pr-test-rust.yml index 319cbce70..6c403b83b 100644 --- a/.github/workflows/pr-test-rust.yml +++ b/.github/workflows/pr-test-rust.yml @@ -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" diff --git a/sgl-router/README.md b/sgl-router/README.md index 90f762469..ac2999b14 100644 --- a/sgl-router/README.md +++ b/sgl-router/README.md @@ -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