symbolcollision.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: symbolcollision
  2. # Tests the Pods listed in SymbolCollisionTest/Podfile for symbol collisions.
  3. on:
  4. workflow_dispatch:
  5. pull_request:
  6. paths:
  7. - '.github/workflows/symbolcollision.yml'
  8. - 'SymbolCollisionTest/**'
  9. - 'Gemfile*'
  10. schedule:
  11. # Run every day at 1am (PDT) / 4am (EDT) - cron uses UTC times
  12. - cron: '0 8 * * *'
  13. concurrency:
  14. group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  15. cancel-in-progress: true
  16. jobs:
  17. installation-test:
  18. # Don't run on private repo unless it is a PR.
  19. if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  20. runs-on: macos-15
  21. steps:
  22. - uses: actions/checkout@v4
  23. - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  24. with:
  25. cache_key: symbolcollision
  26. - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
  27. - name: Setup Bundler
  28. run: scripts/setup_bundler.sh
  29. - name: Xcode
  30. run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
  31. - name: Prereqs
  32. run: scripts/install_prereqs.sh SymbolCollision iOS
  33. - name: Build
  34. run: scripts/build.sh SymbolCollision iOS