From 4208fd39883340e607cfefe3d0a462ff42f835f5 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Mon, 26 Aug 2024 23:23:46 -0700 Subject: [PATCH] gha: sysroot --- .github/workflows/test.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 07beebd..fb57405 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -81,8 +81,12 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v4 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable - run: ./scripts/vendor.sh - - run: make CFLAGS="-target x86_64-apple-ios" loadable static + + - run: make CFLAGS="-target x86_64-apple-ios -isysroot $(xcrun -sdk iphoneos --show-sdk-path)" loadable static - uses: actions/upload-artifact@v4 with: name: sqlite-vec-ios-testing-extension