Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add llama example build (iOS) #32

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/build-ios-llama-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Example app iOS build check
on:
push:
branches:
- main
paths:
- '.github/workflows/build-ios-llama-example.yml'
- '*.podspec'
- 'examples/llama/ios/**'
- 'examples/llama/package.json'
pull_request:
paths:
- '.github/workflows/build-ios-llama-example.yml'
- '*.podspec'
- 'examples/llama/ios/**'
- 'examples/llama/package.json'
jobs:
build:
if: github.repository == 'software-mansion/react-native-executorch'
name: "Example app iOS build check"
runs-on: macos-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Install node dependencies
working-directory: examples/llama
run: yarn

- name: Install pods
working-directory: examples/llama/ios
run: pod install

- name: Build app
working-directory: examples/llama/ios
run: |
set -o pipefail && xcodebuild \
-workspace llama.xcworkspace \
-scheme llama \
-sdk iphonesimulator \
-configuration Debug \
-destination 'platform=iOS Simulator,name=iPhone 16 Pro' \
build \
CODE_SIGNING_ALLOWED=NO | xcbeautify

Loading