From 2c1f499a8ba072ffcf3f51a00a5f2689392b21e5 Mon Sep 17 00:00:00 2001 From: Sam Valladares Date: Sun, 1 Mar 2026 20:33:01 -0600 Subject: [PATCH] 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 --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0a61da..3dc7c73 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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'