Skip to content

v0.5.4

v0.5.4 #120

name: LLM Example app iOS build check
on:
push:
branches:
- main
paths:
- '.github/workflows/build-ios-llm-example.yml'
- '*.podspec'
- 'apps/llm/ios/**'
- 'apps/llm/package.json'
pull_request:
paths:
- '.github/workflows/build-ios-llm-example.yml'
- '*.podspec'
- 'apps/llm/ios/**'
- 'apps/llm/package.json'
workflow_dispatch:
jobs:
build:
if: github.repository == 'software-mansion/react-native-executorch'
runs-on: macos-latest
concurrency:
group: ios-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install node dependencies
working-directory: apps/llm
run: yarn
- name: Install pods
working-directory: apps/llm/ios
run: pod install
- name: Build app
working-directory: apps/llm/ios
run: |
set -o pipefail && xcodebuild \
-workspace llm.xcworkspace \
-scheme llm \
-sdk iphonesimulator \
-configuration Debug \
-destination 'platform=iOS Simulator,name=iPhone 16 Pro' \
build \
CODE_SIGNING_ALLOWED=NO | xcbeautify