@@ -398,6 +398,55 @@ jobs:
398
398
name : quickstart_artifacts database
399
399
path : quickstart-ios/
400
400
401
+ quickstart_framework_firebaseai :
402
+ needs : package-head
403
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
404
+ env :
405
+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
406
+ SDK : " FirebaseAI"
407
+ strategy :
408
+ matrix :
409
+ artifact : [Firebase-actions-dir, Firebase-actions-dir-dynamic]
410
+ build-env :
411
+ - os : macos-15
412
+ xcode : Xcode_16.4
413
+ runs-on : ${{ matrix.build-env.os }}
414
+ steps :
415
+ - uses : actions/checkout@v4
416
+ - name : Get framework dir
417
+
418
+ with :
419
+ name : ${{ matrix.artifact }}
420
+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
421
+ github-token : ${{ secrets.GITHUB_TOKEN }}
422
+ - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
423
+ - name : Xcode
424
+ run : sudo xcode-select -s /Applications/${{ matrix.build-env.xcode }}.app/Contents/Developer
425
+ - name : Setup Bundler
426
+ run : ./scripts/setup_bundler.sh
427
+ - name : Move frameworks
428
+ run : |
429
+ mkdir -p "${HOME}"/ios_frameworks/
430
+ find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
431
+ - uses : actions/checkout@v4
432
+ - name : Setup quickstart
433
+ run : SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
434
+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAILogic/* \
435
+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAnalytics/*
436
+ - name : Install Secret GoogleService-Info.plist
437
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/VertexAI/TestApp-GoogleService-Info.plist.gpg \
438
+ quickstart-ios/firebaseai/GoogleService-Info.plist "$plist_secret"
439
+ - name : Test Quickstart
440
+ run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
441
+ - name : Remove data before upload
442
+ if : ${{ failure() }}
443
+ run : scripts/remove_data.sh firebaseai
444
+ - uses : actions/upload-artifact@v4
445
+ if : ${{ failure() }}
446
+ with :
447
+ name : quickstart_artifacts_firebaseai
448
+ path : quickstart-ios/
449
+
401
450
quickstart_framework_firestore :
402
451
needs : package-head
403
452
if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
0 commit comments