| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- name: messaging
- on:
- pull_request:
- paths:
- - 'Firebase/Messaging/**'
- #Podspec
- - 'FirebaseMessaging.podspec'
- - '.github/workflows/messaging.yml'
- schedule:
- # Run every day at 11pm (PST) - cron uses UTC times
- - cron: '0 7 * * *'
- jobs:
- pod-lib-lint:
- runs-on: macOS-latest
- strategy:
- matrix:
- target: [ios, tvos, macos]
- steps:
- - uses: actions/checkout@v2
- - name: Setup Bundler
- run: scripts/setup_bundler.sh
- - name: Build and test
- run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMessaging.podspec --platforms=${{ matrix.target }}
- catalyst:
- runs-on: macOS-latest
- steps:
- - uses: actions/checkout@v2
- - name: Setup Bundler
- run: scripts/setup_bundler.sh
- - name: Setup project and Build Catalyst
- run: scripts/test_catalyst.sh FirebaseMessaging build
- quickstart:
- runs-on: macOS-latest
- steps:
- - uses: actions/checkout@v2
- - name: Setup quickstart
- run: scripts/setup_quickstart.sh messaging
- - name: Install Secret GoogleService-Info.plist
- env:
- plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
- run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-messaging.plist.gpg \
- quickstart-ios/messaging/GoogleService-Info.plist "$plist_secret"
- - name: Install Secret FIREGSignInInfo.h
- env:
- signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
- run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
- quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- - name: Test quickstart
- run: scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging
- pod-lib-lint-watchos:
- runs-on: macOS-latest
- steps:
- - uses: actions/checkout@v2
- - name: Setup Bundler
- run: scripts/setup_bundler.sh
- - name: Build and test
- run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMessaging.podspec --skip-tests --platforms=watchos
- messaging-cron-only:
- runs-on: macos-latest
- if: github.event_name == 'schedule'
- strategy:
- matrix:
- target: [ios, tvos, macos]
- flags: [
- '--use-modular-headers',
- '--skip-tests --use-libraries'
- ]
- needs: pod-lib-lint
- steps:
- - uses: actions/checkout@v2
- - name: Setup Bundler
- run: scripts/setup_bundler.sh
- - name: PodLibLint Messaging Cron
- run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMessaging.podspec --platforms=${{ matrix.target }}
- messaging-watchos-cron-only:
- runs-on: macos-latest
- if: github.event_name == 'schedule'
- strategy:
- matrix:
- flags: [
- '--skip-tests --use-modular-headers',
- '--skip-tests --use-libraries'
- ]
- needs: pod-lib-lint-watchos
- steps:
- - uses: actions/checkout@v2
- - name: Setup Bundler
- run: scripts/setup_bundler.sh
- - name: PodLibLint Messaging Cron
- run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMessaging.podspec --platforms=watchos
|