| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- name: datatransport
- on:
- pull_request:
- paths:
- - 'GoogleDataTransport**'
- - 'GoogleDataTransportCCTSupport**'
- - '.github/workflows/datatransport.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: PodLibLint DataTransport
- run: |
- ./scripts/third_party/travis/retry.sh ./scripts/pod_lib_lint.rb GoogleDataTransport.podspec --platforms=${{ matrix.target }}
- ./scripts/third_party/travis/retry.sh ./scripts/pod_lib_lint.rb GoogleDataTransportCCTSupport.podspec --platforms=${{ matrix.target }}
- # Scheduled jobs
- datatransport-cron-only:
- runs-on: macos-latest
- if: github.event_name == 'schedule'
- strategy:
- matrix:
- target: [ios, tvos, macos]
- flags: [
- '--use-modular-headers',
- '--use-libraries'
- ]
- needs: pod_lib_lint
- steps:
- - uses: actions/checkout@v2
- - name: Setup Bundler
- run: ./scripts/setup_bundler.sh
- - name: PodLibLint DataTransport Cron
- run: |
- ./scripts/third_party/travis/retry.sh ./scripts/pod_lib_lint.rb GoogleDataTransport.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
- ./scripts/third_party/travis/retry.sh ./scripts/pod_lib_lint.rb GoogleDataTransportCCTSupport.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
|