symbolcollision.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. name: symbolcollision
  2. # Tests the Pods listed in SymbolCollisionTest/Podfile for symbol collisions.
  3. on:
  4. pull_request:
  5. paths:
  6. - '.github/workflows/symbolcollision.yml'
  7. - 'SymbolCollisionTest/**'
  8. - 'Gemfile*'
  9. schedule:
  10. # Run every day at 12am (PST) - cron uses UTC times
  11. - cron: '0 8 * * *'
  12. concurrency:
  13. group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  14. cancel-in-progress: true
  15. jobs:
  16. installation-test:
  17. # Don't run on private repo unless it is a PR.
  18. if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  19. runs-on: macos-11
  20. steps:
  21. - uses: actions/checkout@v2
  22. - uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
  23. with:
  24. cache_key: ${{ matrix.os }}
  25. - name: Setup Bundler
  26. run: scripts/setup_bundler.sh
  27. - name: Prereqs
  28. run: scripts/install_prereqs.sh SymbolCollision iOS
  29. - name: Build
  30. run: scripts/build.sh SymbolCollision iOS