Skip to content

add xcbeautify

add xcbeautify #6

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: Install deps
run: brew install xcbeautify
- 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 | xcbeautify --renderer github-actions
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: Install deps
run: brew install xcbeautify
- 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 | xcbeautify --renderer github-actions
env:
destination: ${{ matrix.destination }}