v1.1 (#66) #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: iOS Demos | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/ios-demos.yml' | |
- 'demo/ios/**' | |
- '!demo/ios/README.md' | |
pull_request: | |
branches: [ main, 'v[0-9]+.[0-9]+' ] | |
paths: | |
- '.github/workflows/ios-demos.yml' | |
- 'demo/ios/**' | |
- '!demo/ios/README.md' | |
jobs: | |
build-completion-demo: | |
runs-on: macos-latest | |
defaults: | |
run: | |
working-directory: demo/ios/Completion | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Cocoapods | |
run: gem install cocoapods | |
- name: Run Cocoapods | |
run: pod install --repo-update | |
- name: Build | |
run: xcrun xcodebuild build | |
-configuration Debug | |
-workspace PicoLLMCompletionDemo.xcworkspace | |
-sdk iphoneos | |
-scheme PicoLLMCompletionDemo | |
-derivedDataPath ddp | |
CODE_SIGNING_ALLOWED=NO | |
build-chat-demo: | |
runs-on: macos-latest | |
defaults: | |
run: | |
working-directory: demo/ios/Chat | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Cocoapods | |
run: gem install cocoapods | |
- name: Run Cocoapods | |
run: pod install --repo-update | |
- name: Build | |
run: xcrun xcodebuild build | |
-configuration Debug | |
-workspace PicoLLMChatDemo.xcworkspace | |
-sdk iphoneos | |
-scheme PicoLLMChatDemo | |
-derivedDataPath ddp | |
CODE_SIGNING_ALLOWED=NO |