core.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. name: core
  2. permissions:
  3. contents: read
  4. on:
  5. workflow_dispatch:
  6. pull_request:
  7. paths:
  8. - 'FirebaseCore**'
  9. - '.github/workflows/core.yml'
  10. - '.github/workflows/common.yml'
  11. - '.github/workflows/common_cocoapods.yml'
  12. - '.github/workflows/common_catalyst.yml'
  13. - '.github/workflows/common_cocoapods_cron.yml'
  14. - 'Gemfile*'
  15. schedule:
  16. # Run every day at 3am (PDT) / 6am (EDT) - cron uses UTC times
  17. - cron: '0 10 * * *'
  18. concurrency:
  19. group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  20. cancel-in-progress: true
  21. jobs:
  22. spm:
  23. uses: ./.github/workflows/common.yml
  24. with:
  25. target: CoreUnit
  26. catalyst:
  27. uses: ./.github/workflows/common_catalyst.yml
  28. with:
  29. product: FirebaseCore
  30. target: FirebaseCore-Unit-unit
  31. pod_lib_lint:
  32. uses: ./.github/workflows/common_cocoapods.yml
  33. with:
  34. product: FirebaseCore
  35. core-cron-only:
  36. needs: pod_lib_lint
  37. uses: ./.github/workflows/common_cocoapods_cron.yml
  38. with:
  39. product: FirebaseCore
  40. platforms: '[ "ios", "tvos", "macos" ]'
  41. flags: '[ "--use-static-frameworks" ]'
  42. runs_on: macos-14
  43. xcode: Xcode_16.2