KS68: recall fixes — 80% micro-benchmark (IE-3, KU-3, TR-3, ME-4, PT-3) #20
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| fmt: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - run: cargo fmt --all --check | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| # Exclude platform-specific crates that need system libs not available in CI | |
| - run: cargo clippy --workspace --all-targets --exclude shrimpk-tray --exclude shrimpk-viz -- -D warnings | |
| test: | |
| name: Test (${{ matrix.os }}) | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| include: | |
| - os: ubuntu-latest | |
| exclude_crates: --exclude shrimpk-tray --exclude shrimpk-viz | |
| - os: macos-latest | |
| exclude_crates: --exclude shrimpk-tray --exclude shrimpk-viz | |
| - os: windows-latest | |
| exclude_crates: "" | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - run: cargo test --workspace ${{ matrix.exclude_crates }} | |
| # Integration tests requiring fastembed model download are #[ignore] | |
| # and will not run in CI. This is by design. | |
| doc: | |
| name: Documentation | |
| runs-on: ubuntu-latest | |
| env: | |
| RUSTDOCFLAGS: -D warnings | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| # Exclude platform-specific crates that need system libs not available in CI | |
| - run: cargo doc --workspace --no-deps --exclude shrimpk-tray --exclude shrimpk-viz |