Migrate off CocoaPods #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| pull_request: | |
| paths: | |
| - 'ml-functions/**' | |
| - '.github/workflows/ml-functions.yml' | |
| name: Functions (ML) | |
| jobs: | |
| swift-build: | |
| name: Swift build | |
| runs-on: macOS-latest | |
| strategy: | |
| matrix: | |
| destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| - name: Build Swift snippets | |
| run: | | |
| cd ml-functions | |
| xcodebuild -project MLFunctionsExample.xcodeproj clean build -scheme MLFunctionsExampleSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | |
| env: | |
| destination: ${{ matrix.destination }} | |
| objc-build: | |
| name: ObjC build | |
| runs-on: macOS-latest | |
| strategy: | |
| matrix: | |
| destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| - name: Build ObjC snippets | |
| run: | | |
| cd ml-functions | |
| xcodebuild -project MLFunctionsExample.xcodeproj clean build -scheme MLFunctionsExample -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | |
| env: | |
| destination: ${{ matrix.destination }} |