IOS CI workflow #14
Workflow file for this run
This file contains hidden or 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
| # This workflow builds and tests the iOS app with CocoaPods and Xcode | |
| # For more information see: https://docs.github.com/actions/guides/building-and-testing-swift | |
| name: IOS CI with cocoapods | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths: | |
| - 'ios/OpenBot/**' | |
| - '.github/workflows/cocoapod.yml' | |
| pull_request: | |
| branches: [ master ] | |
| paths: | |
| - 'ios/OpenBot/**' | |
| - '.github/workflows/cocoapod.yml' | |
| jobs: | |
| build: | |
| runs-on: macos-15 | |
| defaults: | |
| run: | |
| working-directory: ios/OpenBot | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Xcode | |
| run: sudo xcode-select -switch /Applications/Xcode_16.app/Contents/Developer | |
| - name: Verify Xcode Version | |
| run: | | |
| xcodebuild -version | |
| xcrun simctl list devices | |
| xcrun simctl list runtimes | |
| - name: Install CocoaPods | |
| run: sudo gem install cocoapods | |
| - name: Install Dependencies | |
| run: pod install --repo-update | |
| - name: Build | |
| run: | | |
| xcodebuild \ | |
| -workspace OpenBot.xcworkspace \ | |
| -scheme OpenBot \ | |
| -destination 'generic/platform=iOS Simulator' \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| clean build |