cocoapods-integration.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. name: cocoapods-integration
  2. on:
  3. pull_request:
  4. paths:
  5. - 'IntegrationTesting/CocoapodsIntegrationTest/**'
  6. - '.github/workflows/cocoapods-integration.yml'
  7. - 'Gemfile*'
  8. schedule:
  9. # Run every day at 2am (PST) - cron uses UTC times
  10. - cron: '0 10 * * *'
  11. concurrency:
  12. group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  13. cancel-in-progress: true
  14. jobs:
  15. tests:
  16. # Don't run on private repo unless it is a PR.
  17. if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  18. || github.event_name == 'workflow_dispatch'
  19. runs-on: macos-14
  20. steps:
  21. - uses: actions/checkout@v4
  22. - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  23. with:
  24. cache_key: ${{ matrix.os }}
  25. - name: Get realpath
  26. run: brew install coreutils
  27. - name: Build and test
  28. run: |
  29. scripts/third_party/travis/retry.sh ./IntegrationTesting/CocoapodsIntegrationTest/scripts/build_with_environment.sh \
  30. --gemfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile \
  31. --podfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile