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

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sam Valladares 2026-03-01 21:40:21 -06:00
parent d98cf6136a
commit de19ed8dd9

View file

@ -58,10 +58,13 @@ jobs:
include:
- os: macos-latest
target: aarch64-apple-darwin
cargo_flags: ""
- os: macos-14
target: x86_64-apple-darwin
cargo_flags: "--no-default-features"
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
cargo_flags: ""
steps:
- uses: actions/checkout@v4
@ -82,7 +85,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build release
run: cargo build --release --target ${{ matrix.target }} -p vestige-mcp
run: cargo build --release --target ${{ matrix.target }} -p vestige-mcp ${{ matrix.cargo_flags }}
- name: Package
run: |