Merge pull request #20 from BlockedPath/main #54
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
| name: iOS CI | |
| "on": | |
| push: | |
| branches: | |
| - main | |
| - tidy/deps-format | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build-and-test: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install XcodeGen | |
| run: brew install xcodegen | |
| - name: Generate Xcode project | |
| working-directory: ios/CodexMeterApp | |
| run: xcodegen generate | |
| - name: Show Xcode version | |
| run: xcodebuild -version | |
| - name: Run app tests | |
| working-directory: ios/CodexMeterApp | |
| run: | | |
| xcodebuild \ | |
| -project CodexMeterApp.xcodeproj \ | |
| -scheme CodexMeterApp \ | |
| -destination 'platform=iOS Simulator,name=iPhone 16' \ | |
| test | |
| - name: Build widget extension | |
| working-directory: ios/CodexMeterApp | |
| run: | | |
| xcodebuild \ | |
| -project CodexMeterApp.xcodeproj \ | |
| -target CodexMeterAppWidget \ | |
| -sdk iphonesimulator \ | |
| -configuration Debug \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| build |