mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-11 22:55:59 +05:45
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
name: core
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'FirebaseCore**'
|
|
- '.github/workflows/core.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 FirebaseCore.podspec --platforms=${{ matrix.target }}
|
|
|
|
core-cron-only:
|
|
runs-on: macos-latest
|
|
if: github.event_name == 'schedule'
|
|
strategy:
|
|
matrix:
|
|
target: [ios, tvos, macos]
|
|
flags: [
|
|
'--use-modular-headers',
|
|
# Tests are skipped since the Swift tests need modules.
|
|
'--skip-tests --use-libraries'
|
|
]
|
|
needs: pod-lib-lint
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup Bundler
|
|
run: scripts/setup_bundler.sh
|
|
- name: PodLibLint Core Cron
|
|
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseCore.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
|