Skip to content

Migrate off CocoaPods #3

Migrate off CocoaPods

Migrate off CocoaPods #3

Workflow file for this run

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 }}