mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
name: appdistribution
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'FirebaseAppDistribution**'
|
|
- '.github/workflows/appdistribution.yml'
|
|
- 'Gemfile'
|
|
schedule:
|
|
# Run every day at 3am (PST) - cron uses UTC times
|
|
# This is set to 3 hours after zip workflow finishes so zip testing can run after.
|
|
- cron: '0 11 * * *'
|
|
|
|
jobs:
|
|
pod-lib-lint:
|
|
# Don't run on private repo unless it is a PR.
|
|
if: github.repository != 'FirebasePrivate/firebase-ios-sdk' || github.event_name == 'pull_request'
|
|
|
|
runs-on: macos-latest
|
|
strategy:
|
|
matrix:
|
|
target: [ios]
|
|
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 FirebaseAppDistribution.podspec \
|
|
--platforms=${{ matrix.target }}
|
|
|
|
appdistribution-cron-only:
|
|
if: github.event_name == 'schedule' && github.repository != 'FirebasePrivate/firebase-ios-sdk'
|
|
|
|
runs-on: macos-latest
|
|
strategy:
|
|
matrix:
|
|
target: [ios]
|
|
flags: [
|
|
'--use-static-frameworks',
|
|
'--use-libraries'
|
|
]
|
|
needs: pod-lib-lint
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup Bundler
|
|
run: scripts/setup_bundler.sh
|
|
- name: PodLibLint App Distribution Cron
|
|
run: |
|
|
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAppDistribution.podspec \
|
|
--platforms=${{ matrix.target }} ${{ matrix.flags }}
|