firebase_app_check.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # TODO(Swift 6): Re-enable these tests.
  2. # name: firebase_app_check
  3. # on:
  4. # workflow_dispatch:
  5. # pull_request:
  6. # paths:
  7. # - 'FirebaseAppCheck**'
  8. # - '.github/workflows/firebase_app_check.yml'
  9. # - 'Gemfile*'
  10. # schedule:
  11. # # Run every day at 11pm (PST) - cron uses UTC times
  12. # - cron: '0 7 * * *'
  13. # concurrency:
  14. # group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  15. # cancel-in-progress: true
  16. # jobs:
  17. # spm:
  18. # strategy:
  19. # matrix:
  20. # target: [FirebaseAppCheckUnit, FirebaseAppCheckUnitSwift]
  21. # uses: ./.github/workflows/common.yml
  22. # with:
  23. # target: ${{ matrix.target }}
  24. # catalyst:
  25. # uses: ./.github/workflows/common_catalyst.yml
  26. # with:
  27. # product: FirebaseAppCheck
  28. # target: FirebaseAppCheck-Unit-unit
  29. # pod_lib_lint:
  30. # # Don't run on private repo unless it is a PR.
  31. # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  32. # strategy:
  33. # matrix:
  34. # podspec: [FirebaseAppCheckInterop.podspec, FirebaseAppCheck.podspec]
  35. # target: [ios, tvos, macos --skip-tests, watchos]
  36. # build-env:
  37. # - os: macos-14
  38. # xcode: Xcode_16.2
  39. # - os: macos-15
  40. # xcode: Xcode_16.2
  41. # runs-on: ${{ matrix.build-env.os }}
  42. # steps:
  43. # - uses: actions/checkout@v4
  44. # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
  45. # - name: Setup Bundler
  46. # run: scripts/setup_bundler.sh
  47. # - name: Configure test keychain
  48. # run: scripts/configure_test_keychain.sh
  49. # - name: Xcode
  50. # run: sudo xcode-select -s /Applications/${{ matrix.build-env.xcode }}.app/Contents/Developer
  51. # - name: FirebaseAppCheck
  52. # run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}
  53. # diagnostics:
  54. # # Don't run on private repo unless it is a PR.
  55. # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  56. # runs-on: macos-15
  57. # strategy:
  58. # matrix:
  59. # diagnostic: [tsan, asan, ubsan]
  60. # steps:
  61. # - uses: actions/checkout@v4
  62. # - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  63. # with:
  64. # cache_key: ${{ matrix.diagnostics }}
  65. # - name: Xcode
  66. # run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
  67. # - name: Initialize xcodebuild
  68. # run: scripts/setup_spm_tests.sh
  69. # - name: iOS Unit Tests
  70. # run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseAppCheckUnit iOS spm ${{ matrix.diagnostic }}
  71. # - name: Upload raw logs if failed
  72. # if: ${{ failure() }}
  73. # uses: actions/upload-artifact@v4
  74. # with:
  75. # name: failure-xcodebuild-raw-logs
  76. # path: xcodebuild.log
  77. # app_check-cron-only:
  78. # # Don't run on private repo.
  79. # if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
  80. # runs-on: macos-15
  81. # strategy:
  82. # matrix:
  83. # flags: [
  84. # '--skip-tests --use-modular-headers'
  85. # ]
  86. # needs: pod_lib_lint
  87. # steps:
  88. # - uses: actions/checkout@v4
  89. # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
  90. # - name: Xcode
  91. # run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
  92. # - name: Setup Bundler
  93. # run: scripts/setup_bundler.sh
  94. # - name: PodLibLint FirebaseAppCheck Cron
  95. # # TODO: Remove --allow-warnings when stabilized.
  96. # run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAppCheck.podspec --platforms=ios ${{ matrix.flags }}