client_app.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # TODO(Swift 6): Re-enable these tests.
  2. # name: client_app
  3. # on:
  4. # workflow_dispatch:
  5. # pull_request:
  6. # paths:
  7. # - ".github/workflows/client_app.yml"
  8. # - "Package.swift"
  9. # - ".swiftpm/*"
  10. # - "*.podspec"
  11. # - "scripts/install_prereqs.sh"
  12. # - "scripts/build.sh"
  13. # - "IntegrationTesting/ClientApp/**"
  14. # - "Gemfile*"
  15. # schedule:
  16. # # Run every day at 12am (PST) - cron uses UTC times
  17. # - cron: "0 8 * * *"
  18. # env:
  19. # FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
  20. # concurrency:
  21. # group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  22. # cancel-in-progress: true
  23. # jobs:
  24. # client-app-spm:
  25. # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  26. # strategy:
  27. # # TODO: Add Xcode matrix when Xcode 16 is ubiquitous on CI runners.
  28. # matrix:
  29. # #TODO(ncooke3): Add multi-platform support: tvOS, macOS, catalyst
  30. # platform: [iOS]
  31. # scheme: [ClientApp]
  32. # os: [macos-14, macos-15]
  33. # runs-on: ${{ matrix.os }}
  34. # steps:
  35. # - uses: actions/checkout@v4
  36. # - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  37. # with:
  38. # cache_key: ${{ matrix.os }}
  39. # - name: Xcode
  40. # run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
  41. # - name: Build Client App –– ${{ matrix.platform }}
  42. # run: scripts/third_party/travis/retry.sh ./scripts/build.sh ${{ matrix.scheme }} ${{ matrix.platform }} xcodebuild
  43. # client-app-spm-source-firestore:
  44. # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  45. # env:
  46. # FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
  47. # FIREBASE_SOURCE_FIRESTORE: 1
  48. # strategy:
  49. # # TODO: Add Xcode matrix when Xcode 16 is ubiquitous on CI runners.
  50. # matrix:
  51. # #TODO(ncooke3): Add multi-platform support: tvOS, macOS, catalyst
  52. # platform: [iOS]
  53. # scheme: [ClientApp]
  54. # os: [macos-14, macos-15]
  55. # runs-on: ${{ matrix.os }}
  56. # steps:
  57. # - uses: actions/checkout@v4
  58. # - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  59. # with:
  60. # cache_key: ${{ matrix.os }}
  61. # - name: Xcode
  62. # run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
  63. # - name: Build Client App –– ${{ matrix.platform }}
  64. # run: scripts/third_party/travis/retry.sh ./scripts/build.sh ${{ matrix.scheme }} ${{ matrix.platform }} xcodebuild
  65. # client-app-cocoapods:
  66. # # Don't run on private repo unless it is a PR.
  67. # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  68. # strategy:
  69. # # TODO: Add Xcode matrix when Xcode 16 is ubiquitous on CI runners.
  70. # matrix:
  71. # scheme: [ClientApp-CocoaPods]
  72. # os: [macos-14, macos-15]
  73. # runs-on: ${{ matrix.os }}
  74. # steps:
  75. # - uses: actions/checkout@v4
  76. # - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  77. # with:
  78. # cache_key: ${{ matrix.os }}
  79. # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
  80. # - name: Setup Bundler
  81. # run: scripts/setup_bundler.sh
  82. # - name: Xcode
  83. # run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
  84. # - name: Prereqs
  85. # run: scripts/install_prereqs.sh ClientApp iOS xcodebuild
  86. # - name: Build
  87. # run: scripts/build.sh ${{ matrix.scheme }} iOS xcodebuild