@@ -457,6 +457,57 @@ jobs:
457457 quickstart-ios/
458458 !quickstart-ios/**/GoogleService-Info.plist
459459
460+ quickstart_framework_firebaseai :
461+ needs : package-head
462+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
463+ env :
464+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
465+ SDK : " FirebaseAI"
466+ # This is a workaround to use the FirebaseAIExampleZip scheme that does not have the SPM dependency.
467+ SWIFT_SUFFIX : " Zip"
468+ strategy :
469+ matrix :
470+ artifact : [Firebase-actions-dir, Firebase-actions-dir-dynamic]
471+ build-env :
472+ - os : macos-15
473+ xcode : Xcode_16.4
474+ runs-on : ${{ matrix.build-env.os }}
475+ steps :
476+ - uses : actions/checkout@v4
477+ - name : Get framework dir
478+ 479+ with :
480+ name : ${{ matrix.artifact }}
481+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
482+ github-token : ${{ secrets.GITHUB_TOKEN }}
483+ - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
484+ - name : Xcode
485+ run : sudo xcode-select -s /Applications/${{ matrix.build-env.xcode }}.app/Contents/Developer
486+ - name : Setup Bundler
487+ run : ./scripts/setup_bundler.sh
488+ - name : Move frameworks
489+ run : |
490+ mkdir -p "${HOME}"/ios_frameworks/
491+ find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
492+ - uses : actions/checkout@v4
493+ - name : Setup quickstart
494+ run : SAMPLE="$SDK" TARGET="${SDK}ExampleZip" scripts/setup_quickstart_framework.sh \
495+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAILogic/* \
496+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAnalytics/*
497+ - name : Install Secret GoogleService-Info.plist
498+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FirebaseAI/TestApp-GoogleService-Info.plist.gpg \
499+ quickstart-ios/firebaseai/GoogleService-Info.plist "$plist_secret"
500+ - name : Test Quickstart
501+ run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
502+ - name : Remove data before upload
503+ if : ${{ failure() }}
504+ run : scripts/remove_data.sh firebaseai
505+ - uses : actions/upload-artifact@v4
506+ if : ${{ failure() }}
507+ with :
508+ name : quickstart_artifacts_firebaseai
509+ path : quickstart-ios/
510+
460511 quickstart_framework_firestore :
461512 needs : packaging_done
462513 if : ${{ !cancelled() }}
0 commit comments