-
Notifications
You must be signed in to change notification settings - Fork 74
46 lines (46 loc) · 1.33 KB
/
build-ios-llm-example.yml
File metadata and controls
46 lines (46 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: LLM Example app iOS build check
on:
push:
branches:
- main
paths:
- '.github/workflows/build-ios-llm-example.yml'
- '*.podspec'
- 'examples/llm/ios/**'
- 'examples/llm/package.json'
pull_request:
paths:
- '.github/workflows/build-ios-llm-example.yml'
- '*.podspec'
- 'examples/llm/ios/**'
- 'examples/llm/package.json'
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: examples/llm
run: yarn
- name: Install pods
working-directory: examples/llm/ios
run: pod install
- name: Build app
working-directory: examples/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