fix: build macOS Intel without embeddings (ort-sys has no x86_64-apple-darwin prebuilts)

The ort crate no longer ships prebuilt ONNX Runtime binaries for macOS Intel.
Build that target with --no-default-features so it uses keyword-only search
instead of failing the release pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sam Valladares 2026-03-01 20:33:01 -06:00
parent 9f856bb0c4
commit 2c1f499a8b

View file

@ -26,15 +26,19 @@ jobs:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
archive: tar.gz
cargo_flags: ""
- target: x86_64-pc-windows-msvc
os: windows-latest
archive: zip
cargo_flags: ""
- target: x86_64-apple-darwin
os: macos-14
archive: tar.gz
cargo_flags: "--no-default-features"
- target: aarch64-apple-darwin
os: macos-latest
archive: tar.gz
cargo_flags: ""
steps:
- name: Checkout
@ -46,7 +50,7 @@ jobs:
targets: ${{ matrix.target }}
- name: Build
run: cargo build --package vestige-mcp --release --target ${{ matrix.target }}
run: cargo build --package vestige-mcp --release --target ${{ matrix.target }} ${{ matrix.cargo_flags }}
- name: Package (Unix)
if: matrix.os != 'windows-latest'