Update Firebase version #143
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: Test Practical Examples | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| defaults: | |
| run: | |
| working-directory: Examples/Practical | |
| jobs: | |
| test: | |
| name: "Test BoardApplication" | |
| runs-on: macos-14 | |
| strategy: | |
| matrix: | |
| device: | |
| - { name: "iPhone 15", os: "17.5" } | |
| - { name: "iPhone 16", os: "18.2" } | |
| defaults: | |
| run: | |
| working-directory: Examples/Practical/BoardApplication | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Cache SwiftPM | |
| uses: actions/cache@v4 | |
| with: | |
| path: SourcePackages | |
| key: ${{ runner.os }}-spm-${{ hashFiles('*.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} | |
| restore-keys: ${{ runner.os }}-spm- | |
| - name: Install xcpretty | |
| run: bundle install | |
| working-directory: ./ | |
| - name: Build on ${{ matrix.device.name }} (iOS ${{ matrix.device.os }}) | |
| run: | | |
| set -o pipefail && \ | |
| xcodebuild -scheme BoardApplication \ | |
| build -destination "platform=iOS Simulator,name=${{ matrix.device.name }},OS=${{ matrix.device.os }}" \ | |
| -clonedSourcePackagesDirPath SourcePackages \ | |
| | bundle exec xcpretty |