@@ -453,56 +453,59 @@ jobs:
453453 name : quickstart_artifacts_dynamiclinks
454454 path : quickstart-ios/
455455
456- # quickstart_framework_firestore:
457- # # Don't run on private repo.
458- # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
459- # needs: package-head
460- # env:
461- # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
462- # signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
463- # SDK: "Firestore"
464- # strategy:
465- # matrix:
466- # # TODO: Building FirebaseUI fails on Xcode 15 because it needs to sign the resources.
467- # os: [macos-13]
468- # artifact: [Firebase-actions-dir, Firebase-actions-dir-dynamic]
469- # xcode: [Xcode_15.2]
470- # runs-on: ${{ matrix.os }}
471- # steps:
472- # - uses: actions/checkout@v4
473- # - name: Get framework dir
474- # uses: actions/download-artifact@v4
475- # with:
476- # name: ${{ matrix.artifact }}
477- # - uses: ruby/setup-ruby@v1
478- # - name: Setup Bundler
479- # run: ./scripts/setup_bundler.sh
480- # - name: Move frameworks
481- # run: |
482- # mkdir -p "${HOME}"/ios_frameworks/
483- # find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
484- # - uses: actions/checkout@v4
485- # - name: Setup quickstart
486- # run: SAMPLE="$SDK" TARGET="${SDK}Example" NON_FIREBASE_SDKS="SDWebImage FirebaseAuthUI FirebaseEmailAuthUI" scripts/setup_quickstart_framework.sh \
487- # "${HOME}"/ios_frameworks/Firebase/NonFirebaseSDKs/* \
488- # "${HOME}"/ios_frameworks/Firebase/FirebaseFirestore/* \
489- # "${HOME}"/ios_frameworks/Firebase/FirebaseAuth/* \
490- # "${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/*
491- # - name: Xcode
492- # run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
493- # - name: Install Secret GoogleService-Info.plist
494- # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-firestore.plist.gpg \
495- # quickstart-ios/firestore/GoogleService-Info.plist "$plist_secret"
496- # - name: Test Quickstart
497- # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
498- # - name: Remove data before upload
499- # if: ${{ failure() }}
500- # run: scripts/remove_data.sh firestore
501- # - uses: actions/upload-artifact@v4
502- # if: ${{ failure() }}
503- # with:
504- # name: quickstart_artifacts_firestore
505- # path: quickstart-ios/
456+ quickstart_framework_firestore :
457+ # Don't run on private repo.
458+ if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
459+ needs : package-head
460+ env :
461+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
462+ signin_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
463+ SDK : " Firestore"
464+ strategy :
465+ matrix :
466+ os : [macos-13, macos-14]
467+ artifact : [Firebase-actions-dir, Firebase-actions-dir-dynamic]
468+ include :
469+ - os : macos-13
470+ xcode : Xcode_15.2
471+ - os : macos-14
472+ xcode : Xcode_15.3
473+ runs-on : ${{ matrix.os }}
474+ steps :
475+ - uses : actions/checkout@v4
476+ - name : Get framework dir
477+ uses : actions/download-artifact@v4
478+ with :
479+ name : ${{ matrix.artifact }}
480+ - uses : ruby/setup-ruby@v1
481+ - name : Setup Bundler
482+ run : ./scripts/setup_bundler.sh
483+ - name : Move frameworks
484+ run : |
485+ mkdir -p "${HOME}"/ios_frameworks/
486+ find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
487+ - uses : actions/checkout@v4
488+ - name : Setup quickstart
489+ run : SAMPLE="$SDK" TARGET="${SDK}Example" NON_FIREBASE_SDKS="SDWebImage FirebaseAuthUI FirebaseEmailAuthUI" scripts/setup_quickstart_framework.sh \
490+ " ${HOME}" /ios_frameworks/Firebase/NonFirebaseSDKs/* \
491+ " ${HOME}" /ios_frameworks/Firebase/FirebaseFirestore/* \
492+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAuth/* \
493+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAnalytics/*
494+ - name : Xcode
495+ run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
496+ - name : Install Secret GoogleService-Info.plist
497+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-firestore.plist.gpg \
498+ quickstart-ios/firestore/GoogleService-Info.plist "$plist_secret"
499+ - name : Test Quickstart
500+ run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
501+ - name : Remove data before upload
502+ if : ${{ failure() }}
503+ run : scripts/remove_data.sh firestore
504+ - uses : actions/upload-artifact@v4
505+ if : ${{ failure() }}
506+ with :
507+ name : quickstart_artifacts_firestore
508+ path : quickstart-ios/
506509
507510 check_framework_firestore_symbols :
508511 # Don't run on private repo.
0 commit comments