Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ on:

env:
CARGO_TERM_COLOR: always
# ort's build script downloads prebuilt ONNX Runtime binaries; keep them
# inside the workspace so Swatinem/rust-cache picks them up.
# ort's build script downloads prebuilt ONNX Runtime binaries from
# cdn.pyke.io; keep them in the workspace and list the folder in each
# rust-cache step's `cache-directories` (rust-cache only saves ~/.cargo
# and target/ by default) so a CDN hiccup can't fail a cached run.
ORT_CACHE_DIR: ${{ github.workspace }}/.ort-cache

jobs:
Expand All @@ -26,6 +28,8 @@ jobs:
with:
components: clippy
- uses: Swatinem/rust-cache@v2
with:
cache-directories: .ort-cache
- name: cargo check
run: cargo check --workspace --all-targets --locked
# Clippy 1.97 fires ~156 new style lints (mostly collapsible_if
Expand All @@ -46,6 +50,8 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-directories: .ort-cache
# Full test suite under MSVC, including the C-dependency chain
# (bundled SQLite, sqlite-vec, tree-sitter grammars, libgit2, zstd).
# Network/model tests stay #[ignore]d.
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ concurrency:

env:
CARGO_TERM_COLOR: always
# ort's build script downloads prebuilt ONNX Runtime binaries; keep them
# inside the workspace so Swatinem/rust-cache picks them up.
# ort's build script downloads prebuilt ONNX Runtime binaries from
# cdn.pyke.io; keep them in the workspace and list the folder in the
# rust-cache step's `cache-directories` (rust-cache only saves ~/.cargo
# and target/ by default).
ORT_CACHE_DIR: ${{ github.workspace }}/.ort-cache
TAG: ${{ inputs.tag || github.ref_name }}

Expand Down Expand Up @@ -102,6 +104,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
key: release-${{ matrix.target }}
cache-directories: .ort-cache

# The three binaries must ship side by side: gaviero finds
# gaviero-cli (agent hooks) and gaviero-mcp-shim (MCP bridge) next to
Expand Down
Loading