macOS-latest-swift:
runs-on: macos-latest
+ needs: ios-xcode-build
strategy:
matrix:
key: macOS-latest-swift
evict-old-files: 1d
+ - name: Download xcframework artifact
+ uses: actions/download-artifact@v4
+ with:
+ name: llama-xcframework
+ path: build-apple/llama.xcframework/
+
- name: Dependencies
id: depends
continue-on-error: true
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)
- - name: xcodebuild for swift package
- id: xcodebuild
- run: |
- ./build-xcframework.sh
-
windows-msys2:
runs-on: windows-2025
run: |
./build-xcframework.sh
+ - name: Upload xcframework artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: llama-xcframework
+ path: build-apple/llama.xcframework/
+ retention-days: 1
+
- name: Build Xcode project
run: |
xcodebuild -downloadPlatform iOS