firebasepod #6337
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: firebasepod | |
| # Verify that the Firebase.podspec will successfully `pod install`. | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - '*.podspec' | |
| - 'CoreOnly/**' | |
| - '.github/workflows/firebasepod.yml' | |
| - 'Gemfile*' | |
| schedule: | |
| # Run every day at 2am (PDT) / 5am (EDT) - cron uses UTC times | |
| - cron: '0 9 * * *' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| installation-test: | |
| if: github.repository == 'Firebase/firebase-ios-sdk' | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1 | |
| - name: Setup Bundler | |
| run: scripts/setup_bundler.sh | |
| - name: Xcode | |
| run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer | |
| - name: Install simulators in case they are missing. | |
| uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 | |
| with: | |
| timeout_minutes: 15 | |
| max_attempts: 5 | |
| retry_wait_seconds: 120 | |
| command: sudo xcodebuild -downloadPlatform iOS | |
| - name: Prereqs | |
| run: scripts/install_prereqs.sh FirebasePod iOS | |
| - name: Build | |
| run: scripts/build.sh FirebasePod iOS | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| if: ${{ failure() }} | |
| with: | |
| name: firebasepod-xcodebuild-build.log | |
| path: xcodebuild-build.log |