firestore.yml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597
  1. # Copyright 2020 Google LLC
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. name: firestore
  15. on:
  16. pull_request:
  17. schedule:
  18. # Run every day at 12am (PST) - cron uses UTC times
  19. - cron: '0 8 * * *'
  20. concurrency:
  21. group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  22. cancel-in-progress: true
  23. jobs:
  24. changes:
  25. runs-on: macos-14
  26. # Only when this is not a scheduled run
  27. if: github.event_name != 'schedule'
  28. outputs:
  29. changed: ${{ steps.changes.outputs.changed }}
  30. steps:
  31. - uses: dorny/paths-filter@v2
  32. id: changes
  33. with:
  34. filters: |
  35. changed:
  36. # Firestore sources
  37. - 'Firestore/**'
  38. # Interop headers
  39. - 'FirebaseAuth/Interop/*.h'
  40. # FirebaseCore header change
  41. - 'FirebaseCore/Internal'
  42. - 'FirebaseCore/Sources/Public'
  43. # Podspec
  44. - 'FirebaseFirestoreInternal.podspec'
  45. - 'FirebaseFirestore.podspec'
  46. - 'FirebaseFirestoreSwift.podspec'
  47. # CMake
  48. - '**CMakeLists.txt'
  49. - 'cmake/**'
  50. # Build scripts to which Firestore is sensitive
  51. #
  52. # Note that this doesn't include check scripts because changing those will
  53. # already trigger the check workflow.
  54. - 'scripts/binary_to_array.py'
  55. - 'scripts/build.sh'
  56. - 'scripts/install_prereqs.sh'
  57. - 'scripts/localize_podfile.swift'
  58. - 'scripts/pod_lib_lint.rb'
  59. - 'scripts/run_firestore_emulator.sh'
  60. - 'scripts/setup_*'
  61. - 'scripts/sync_project.rb'
  62. - 'scripts/test_quickstart.sh'
  63. - 'scripts/xcresult_logs.py'
  64. # This workflow
  65. - '.github/workflows/firestore.yml'
  66. # Rebuild on Ruby infrastructure changes.
  67. - 'Gemfile*'
  68. check:
  69. needs: changes
  70. # Either a scheduled run from public repo, or a pull request with firestore changes.
  71. if: |
  72. (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
  73. (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
  74. runs-on: macos-14
  75. steps:
  76. - uses: actions/checkout@v4
  77. - uses: actions/setup-python@v4
  78. with:
  79. python-version: 3.11
  80. - name: Setup check
  81. run: scripts/setup_check.sh
  82. - name: Run check
  83. run: scripts/check.sh --test-only
  84. cmake:
  85. needs: check
  86. # Either a scheduled run from public repo, or a pull request with firestore changes.
  87. if: |
  88. (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
  89. (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
  90. strategy:
  91. matrix:
  92. # TODO(#12769): Update to macos-14 which doesn't include Python 3.7
  93. os: [macos-12, ubuntu-latest]
  94. env:
  95. MINT_PATH: ${{ github.workspace }}/mint
  96. runs-on: ${{ matrix.os }}
  97. steps:
  98. - uses: actions/checkout@v4
  99. - name: Prepare ccache
  100. uses: actions/cache@v3
  101. with:
  102. path: ${{ runner.temp }}/ccache
  103. key: firestore-ccache-${{ runner.os }}-${{ github.sha }}
  104. restore-keys: |
  105. firestore-ccache-${{ runner.os }}-
  106. - name: Cache Mint packages
  107. uses: actions/cache@v3
  108. with:
  109. path: ${{ env.MINT_PATH }}
  110. key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }}
  111. restore-keys: ${{ runner.os }}-mint-
  112. - uses: actions/setup-python@v4
  113. with:
  114. python-version: '3.7'
  115. - name: Setup build
  116. run: scripts/install_prereqs.sh Firestore ${{ runner.os }} cmake
  117. - name: Build and test
  118. run: |
  119. export EXPERIMENTAL_MODE=true
  120. export CCACHE_DIR=${{ runner.temp }}/ccache
  121. scripts/third_party/travis/retry.sh scripts/build.sh Firestore ${{ runner.os }} cmake
  122. cmake-prod-db:
  123. # Either a scheduled run from public repo, or a pull request with firestore changes.
  124. if: |
  125. (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
  126. (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
  127. needs: check
  128. strategy:
  129. matrix:
  130. # TODO(#12769): Update to macos-14 which doesn't include Python 3.7
  131. os: [macos-12]
  132. databaseId: [(default), test-db]
  133. env:
  134. plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
  135. MINT_PATH: ${{ github.workspace }}/mint
  136. TARGET_DATABASE_ID: ${{ matrix.databaseId }}
  137. runs-on: ${{ matrix.os }}
  138. steps:
  139. - uses: actions/checkout@v4
  140. - name: Prepare ccache
  141. uses: actions/cache@v3
  142. with:
  143. path: ${{ runner.temp }}/ccache
  144. key: firestore-ccache-${{ matrix.databaseId }}-${{ runner.os }}-${{ github.sha }}
  145. restore-keys: |
  146. firestore-ccache-${{ matrix.databaseId }}-${{ runner.os }}-
  147. - name: Cache Mint packages
  148. uses: actions/cache@v3
  149. with:
  150. path: ${{ env.MINT_PATH }}
  151. key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }}
  152. restore-keys: ${{ runner.os }}-mint-
  153. - uses: actions/setup-python@v4
  154. with:
  155. python-version: '3.7'
  156. - name: Install Secret GoogleService-Info.plist
  157. run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/firestore.plist.gpg \
  158. Firestore/Example/App/GoogleService-Info.plist "$plist_secret"
  159. - name: Install Google Service Account key
  160. run: |
  161. scripts/decrypt_gha_secret.sh scripts/gha-encrypted/firestore-integration.json.gpg \
  162. google-service-account.json "$plist_secret"
  163. # create composite indexes with Terraform
  164. - name: Set up Google Cloud SDK
  165. uses: google-github-actions/setup-gcloud@v1
  166. - name: Setup Terraform
  167. uses: hashicorp/setup-terraform@v2
  168. - name: Terraform Init
  169. run: |
  170. cd Firestore
  171. terraform init
  172. - name: Terraform Apply
  173. run: |
  174. cd Firestore
  175. # Define a temporary file, redirect both stdout and stderr to it
  176. output_file=$(mktemp)
  177. if ! terraform apply -var-file=../google-service-account.json -auto-approve > "$output_file" 2>&1 ; then
  178. cat "$output_file"
  179. if cat "$output_file" | grep -q "index already exists"; then
  180. echo "==================================================================================="
  181. echo "Terraform apply failed due to index already exists; We can safely ignore this error."
  182. echo "==================================================================================="
  183. fi
  184. exit 1
  185. fi
  186. rm -f "$output_file"
  187. env:
  188. GOOGLE_APPLICATION_CREDENTIALS: ../google-service-account.json
  189. continue-on-error: true
  190. - name: Setup build
  191. run: scripts/install_prereqs.sh Firestore ${{ runner.os }} cmake
  192. - name: Build and test
  193. run: |
  194. export CCACHE_DIR=${{ runner.temp }}/ccache
  195. scripts/third_party/travis/retry.sh scripts/build.sh Firestore ${{ runner.os }} cmake
  196. sanitizers-mac:
  197. # Either a scheduled run from public repo, or a pull request with firestore changes.
  198. if: |
  199. (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
  200. (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
  201. needs: check
  202. strategy:
  203. matrix:
  204. # TODO(#12769): Update to macos-14 which doesn't include Python 3.7
  205. os: [macos-12]
  206. sanitizer: [asan, tsan]
  207. runs-on: ${{ matrix.os }}
  208. env:
  209. SANITIZERS: ${{ matrix.sanitizer }}
  210. steps:
  211. - uses: actions/checkout@v4
  212. - name: Prepare ccache
  213. uses: actions/cache@v3
  214. with:
  215. path: ${{ runner.temp }}/ccache
  216. key: ${{ matrix.sanitizer }}-firestore-ccache-${{ runner.os }}-${{ github.sha }}
  217. restore-keys: |
  218. ${{ matrix.sanitizer }}-firestore-ccache-${{ runner.os }}-
  219. - uses: actions/setup-python@v4
  220. with:
  221. python-version: '3.7'
  222. - name: Setup build
  223. run: scripts/install_prereqs.sh Firestore ${{ runner.os }} cmake
  224. - name: Build and test
  225. run: |
  226. export EXPERIMENTAL_MODE=true
  227. export CCACHE_DIR=${{ runner.temp }}/ccache
  228. scripts/third_party/travis/retry.sh scripts/build.sh Firestore ${{ runner.os }} cmake
  229. sanitizers-ubuntu:
  230. # Either a scheduled run from public repo, or a pull request with firestore changes.
  231. if: |
  232. (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
  233. (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
  234. needs: check
  235. strategy:
  236. matrix:
  237. os: [ubuntu-latest]
  238. # Excluding TSAN on ubuntu because of the warnings it generates around schedule.cc.
  239. # This could be due to Apple Clang provide additional support for synchronization
  240. # on Apple platforms, which is what we primarily care about.
  241. sanitizer: [asan]
  242. runs-on: ${{ matrix.os }}
  243. env:
  244. SANITIZERS: ${{ matrix.sanitizer }}
  245. ASAN_OPTIONS: detect_leaks=0
  246. steps:
  247. - uses: actions/checkout@v3
  248. - name: Prepare ccache
  249. uses: actions/cache@v3
  250. with:
  251. path: ${{ runner.temp }}/ccache
  252. key: ${{ matrix.sanitizer }}-firestore-ccache-${{ runner.os }}-${{ github.sha }}
  253. restore-keys: |
  254. ${{ matrix.sanitizer }}-firestore-ccache-${{ runner.os }}-
  255. - uses: actions/setup-python@v4
  256. with:
  257. python-version: '3.7'
  258. - name: Setup build
  259. run: scripts/install_prereqs.sh Firestore ${{ runner.os }} cmake
  260. - name: Build and test
  261. run: |
  262. export EXPERIMENTAL_MODE=true
  263. export CCACHE_DIR=${{ runner.temp }}/ccache
  264. scripts/third_party/travis/retry.sh scripts/build.sh Firestore ${{ runner.os }} cmake
  265. xcodebuild:
  266. # Either a scheduled run from public repo, or a pull request with firestore changes.
  267. if: |
  268. (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
  269. (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
  270. runs-on: macos-14
  271. needs: check
  272. strategy:
  273. matrix:
  274. target: [iOS, macOS, tvOS]
  275. steps:
  276. - uses: actions/checkout@v4
  277. - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  278. with:
  279. cache_key: ${{ matrix.target }}
  280. - uses: ruby/setup-ruby@v1
  281. - name: Setup build
  282. run: scripts/install_prereqs.sh Firestore ${{ matrix.target }} xcodebuild
  283. - name: Build and test
  284. run: |
  285. export EXPERIMENTAL_MODE=true
  286. scripts/third_party/travis/retry.sh scripts/build.sh Firestore ${{ matrix.target }} xcodebuild
  287. pod-lib-lint:
  288. # Either a scheduled run from public repo, or a pull request with firestore changes.
  289. if: |
  290. (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
  291. (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
  292. runs-on: macos-13
  293. needs: check
  294. strategy:
  295. matrix:
  296. podspec: [
  297. 'FirebaseFirestoreInternal.podspec',
  298. 'FirebaseFirestore.podspec',
  299. 'FirebaseFirestoreSwift.podspec',
  300. ]
  301. steps:
  302. - uses: actions/checkout@v4
  303. - uses: ruby/setup-ruby@v1
  304. - name: Setup Bundler
  305. run: ./scripts/setup_bundler.sh
  306. - name: Xcode
  307. run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
  308. - name: Pod lib lint
  309. # TODO(#9565, b/227461966): Remove --no-analyze when absl is fixed.
  310. run: |
  311. scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} \
  312. --platforms=ios \
  313. --allow-warnings \
  314. --no-analyze
  315. # `pod lib lint` takes a long time so only run the other platforms and static frameworks build in the cron.
  316. pod-lib-lint-cron:
  317. if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
  318. needs: check
  319. strategy:
  320. matrix:
  321. podspec: [
  322. 'FirebaseFirestoreInternal.podspec',
  323. 'FirebaseFirestore.podspec',
  324. 'FirebaseFirestoreSwift.podspec',
  325. ]
  326. platforms: [
  327. 'macos',
  328. 'tvos',
  329. 'ios',
  330. ]
  331. flags: [
  332. '--use-static-frameworks',
  333. '',
  334. ]
  335. os: [macos-14, macos-13]
  336. # TODO: grpc and its dependencies don't build on Xcode 15 for macos because their minimum macos is lower than 10.11.
  337. exclude:
  338. - os: macos-13
  339. platforms: 'macos'
  340. # Skip matrix cells covered by pod-lib-lint job.
  341. - os: macos-13
  342. platforms: 'ios'
  343. include:
  344. - os: macos-14
  345. xcode: Xcode_15.3
  346. - os: macos-13
  347. xcode: Xcode_15.2
  348. runs-on: ${{ matrix.os }}
  349. steps:
  350. - uses: actions/checkout@v4
  351. - uses: ruby/setup-ruby@v1
  352. - name: Setup Bundler
  353. run: ./scripts/setup_bundler.sh
  354. - name: Xcode
  355. run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
  356. - name: Pod lib lint
  357. # TODO(#9565, b/227461966): Remove --no-analyze when absl is fixed.
  358. run: |
  359. scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }}\
  360. ${{ matrix.flags }} \
  361. --platforms=${{ matrix.platforms }} \
  362. --allow-warnings \
  363. --no-analyze
  364. spm-source:
  365. # Either a scheduled run from public repo, or a pull request with firestore changes.
  366. if: |
  367. (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
  368. (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
  369. strategy:
  370. matrix:
  371. target: [iOS, tvOS, macOS]
  372. os: [macos-13, macos-14]
  373. include:
  374. - os: macos-13
  375. xcode: Xcode_15.2
  376. - os: macos-14
  377. xcode: Xcode_15.3
  378. - os: macos-14
  379. xcode: Xcode_15.3
  380. target: visionOS
  381. runs-on: ${{ matrix.os }}
  382. needs: check
  383. env:
  384. FIREBASE_SOURCE_FIRESTORE: 1
  385. steps:
  386. - uses: actions/checkout@v4
  387. - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  388. with:
  389. cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }}
  390. - name: Xcode
  391. run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
  392. - name: Initialize xcodebuild
  393. run: scripts/setup_spm_tests.sh
  394. - name: iOS Build Test
  395. run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestore ${{ matrix.target }} spmbuildonly
  396. - name: Swift Build
  397. run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestoreSwift ${{ matrix.target }} spmbuildonly
  398. spm-binary:
  399. # Either a scheduled run from public repo, or a pull request with firestore changes.
  400. if: |
  401. (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
  402. (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
  403. runs-on: macos-14
  404. needs: check
  405. steps:
  406. - uses: actions/checkout@v4
  407. - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  408. with:
  409. cache_key: spm-binary
  410. - name: Initialize xcodebuild
  411. run: scripts/setup_spm_tests.sh
  412. - name: iOS Build Test
  413. run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestore iOS spmbuildonly
  414. - name: Swift Build
  415. run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestoreSwift iOS spmbuildonly
  416. check-firestore-internal-public-headers:
  417. # Either a scheduled run from public repo, or a pull request with firestore changes.
  418. if: |
  419. (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
  420. (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
  421. runs-on: macos-14
  422. needs: check
  423. steps:
  424. - uses: actions/checkout@v4
  425. - name: Assert that Firestore and FirestoreInternal have identically named headers.
  426. run: |
  427. fst_dir=Firestore/Source/Public/FirebaseFirestore/
  428. fst_internal_dir=FirebaseFirestoreInternal/FirebaseFirestore/
  429. comparison=$(comm -3 <(ls $fst_dir | sort) <(ls $fst_internal_dir | sort))
  430. if [[ -z "$comparison" ]]; then
  431. echo "Success: Directories '$fst_dir' and '$fst_internal_dir' match."
  432. else
  433. echo "Error: Directories '$fst_dir' and '$fst_internal_dir' differ:"
  434. echo "Files only in '$fst_dir':"
  435. # Files in this set do not start with whitespace. Grep for them and a
  436. # dashed prefix for nicer formatting.
  437. echo "$comparison" | grep -v '^\s' | sed 's/^/- /'
  438. echo "Files only in '$fst_internal_dir':"
  439. # Files in this set start with whitespace. Grep for them and a dashed
  440. # prefix for nicer formatting.
  441. echo "$comparison" | grep '^\s' | sed 's/^ /- /'
  442. exit 1
  443. fi
  444. # TODO: Re-enable either in or after #11706.
  445. # spm-source-cron:
  446. # # Don't run on private repo.
  447. # if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
  448. # runs-on: macos-14
  449. # strategy:
  450. # matrix:
  451. # target: [tvOS, macOS, catalyst]
  452. # env:
  453. # FIREBASE_SOURCE_FIRESTORE: 1
  454. # steps:
  455. # - uses: actions/checkout@v4
  456. # - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  457. # with:
  458. # cache_key: ${{ matrix.os }}
  459. # - name: Initialize xcodebuild
  460. # run: scripts/setup_spm_tests.sh
  461. # - name: Build Test - Binary
  462. # run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestore ${{ matrix.target }} spmbuildonly
  463. # - name: Swift Build
  464. # run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestoreSwift ${{ matrix.target }} spmbuildonly
  465. spm-binary-cron:
  466. # Don't run on private repo.
  467. if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
  468. runs-on: macos-14
  469. strategy:
  470. matrix:
  471. target: [tvOS, macOS, catalyst]
  472. steps:
  473. - uses: actions/checkout@v4
  474. - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
  475. with:
  476. cache_key: ${{ matrix.target }}
  477. - name: Initialize xcodebuild
  478. run: scripts/setup_spm_tests.sh
  479. - name: Build Test - Binary
  480. run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestore ${{ matrix.target }} spmbuildonly
  481. - name: Swift Build
  482. run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestoreSwift ${{ matrix.target }} spmbuildonly
  483. # A job that fails if any required job in the test matrix fails,
  484. # to be used as a required check for merging.
  485. check-required-tests:
  486. runs-on: ubuntu-latest
  487. if: always()
  488. name: Check all required Firestore tests results
  489. needs: [cmake, cmake-prod-db, xcodebuild, spm-source, spm-binary]
  490. steps:
  491. - name: Check test matrix
  492. if: needs.cmake.result == 'failure' || needs.cmake-prod-db.result == 'failure' || needs.xcodebuild.result == 'failure' || needs.spm.result == 'failure'
  493. run: exit 1
  494. # Disable until FirebaseUI is updated to accept Firebase 9 and quickstart is updated to accept
  495. # Firebase UI 12
  496. # quickstart:
  497. # # Don't run on private repo unless it is a PR.
  498. # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  499. # env:
  500. # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
  501. # signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
  502. # runs-on: macos-14
  503. # needs: check
  504. # steps:
  505. # - uses: actions/checkout@v4
  506. # - name: Setup quickstart
  507. # run: scripts/setup_quickstart.sh firestore
  508. # - name: Install Secret GoogleService-Info.plist
  509. # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-firestore.plist.gpg \
  510. # quickstart-ios/firestore/GoogleService-Info.plist "$plist_secret"
  511. # - name: Test swift quickstart
  512. # run: ([ -z $plist_secret ] ||
  513. # scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Firestore false)