symbolcollision.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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-14
  20. steps:
  21. - uses: actions/checkout@v4
  22. - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  23. with:
  24. cache_key: symbolcollision
  25. - uses: ruby/setup-ruby@v1
  26. - name: Setup Bundler
  27. run: scripts/setup_bundler.sh
  28. - name: Xcode
  29. run: sudo xcode-select -s /Applications/Xcode_15.3.app/Contents/Developer
  30. - name: Prereqs
  31. run: scripts/install_prereqs.sh SymbolCollision iOS
  32. - name: Build
  33. run: scripts/build.sh SymbolCollision iOS