|
14 | 14 | - '.github/workflows/common_cocoapods.yml'
|
15 | 15 | - '.github/workflows/common_catalyst.yml'
|
16 | 16 | - '.github/workflows/common_quickstart.yml'
|
| 17 | + - '.github/workflows/common_cocoapods_cron.yml' |
17 | 18 | - 'scripts/gha-encrypted/AuthSample/SwiftApplication.plist.gpg'
|
18 | 19 | - 'Gemfile*'
|
19 | 20 | schedule:
|
@@ -134,32 +135,12 @@ jobs:
|
134 | 135 | # test_type: "xctest"
|
135 | 136 |
|
136 | 137 | auth-cron-only:
|
137 |
| - # Don't run on private repo. |
138 |
| - if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk' |
139 |
| - |
140 |
| - runs-on: macos-15 |
141 |
| - strategy: |
142 |
| - matrix: |
143 |
| - # The macos and tvos tests can hang, and watchOS doesn't have tests. |
144 |
| - target: [ios, tvos --skip-tests, macos --skip-tests, watchos --skip-tests] |
145 |
| - flags: [ |
146 |
| - '--use-static-frameworks' |
147 |
| - ] |
148 |
| - needs: pod_lib_lint |
149 |
| - env: |
150 |
| - plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }} |
151 |
| - steps: |
152 |
| - - uses: actions/checkout@v4 |
153 |
| - - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1 |
154 |
| - - name: Setup Xcode |
155 |
| - run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer |
156 |
| - - name: Setup Bundler |
157 |
| - run: scripts/setup_bundler.sh |
158 |
| - - name: Configure test keychain |
159 |
| - run: scripts/configure_test_keychain.sh |
160 |
| - - uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 |
161 |
| - with: |
162 |
| - timeout_minutes: 15 |
163 |
| - max_attempts: 3 |
164 |
| - retry_wait_seconds: 120 |
165 |
| - command: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }} |
| 138 | + needs: pod_lib_lint |
| 139 | + uses: ./.github/workflows/common_cocoapods_cron.yml |
| 140 | + with: |
| 141 | + product: FirebaseAuth |
| 142 | + platforms: '[ "ios", "tvos --skip-tests", "macos --skip-tests", "watchos --skip-tests" ]' |
| 143 | + flags: '[ "--use-static-frameworks" ]' |
| 144 | + setup_command: scripts/configure_test_keychain.sh |
| 145 | + secrets: |
| 146 | + plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }} |
0 commit comments