@@ -29,69 +29,69 @@ concurrency:
2929 cancel-in-progress : true
3030
3131jobs :
32- # spm:
33- # uses: ./.github/workflows/common.yml
34- # with:
35- # target: AuthUnit
36- # buildonly_platforms: macOS
32+ spm :
33+ uses : ./.github/workflows/common.yml
34+ with :
35+ target : AuthUnit
36+ buildonly_platforms : macOS
3737
38- # catalyst:
39- # uses: ./.github/workflows/common_catalyst.yml
40- # with:
41- # product: FirebaseAuth
42- # target: FirebaseAuth-Unit-unit
43- # buildonly: true
38+ catalyst :
39+ uses : ./.github/workflows/common_catalyst.yml
40+ with :
41+ product : FirebaseAuth
42+ target : FirebaseAuth-Unit-unit
43+ buildonly : true
4444
45- # pod_lib_lint:
46- # strategy:
47- # matrix:
48- # product: [FirebaseAuthInterop, FirebaseAuth]
49- # uses: ./.github/workflows/common_cocoapods.yml
50- # with:
51- # product: ${{ matrix.product }}
52- # buildonly_platforms: macOS
45+ pod_lib_lint :
46+ strategy :
47+ matrix :
48+ product : [FirebaseAuthInterop, FirebaseAuth]
49+ uses : ./.github/workflows/common_cocoapods.yml
50+ with :
51+ product : ${{ matrix.product }}
52+ buildonly_platforms : macOS
5353
54- # integration-tests:
55- # # Don't run on private repo unless it is a PR.
56- # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
57- # needs: spm
58- # strategy:
59- # matrix:
60- # scheme: [ObjCApiTests, SwiftApiTests, AuthenticationExampleUITests]
61- # env:
62- # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
63- # FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
64- # runs-on: macos-15
65- # steps:
66- # - uses: actions/checkout@v4
67- # - uses: actions/cache/restore@v4
68- # with:
69- # path: .build
70- # key: ${{ needs.spm.outputs.cache_key }}
71- # - name: Install Secrets
72- # run: |
73- # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthCredentials.h.gpg \
74- # FirebaseAuth/Tests/SampleSwift/ObjCApiTests/AuthCredentials.h "$plist_secret"
75- # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/SwiftApplication.plist.gpg \
76- # FirebaseAuth/Tests/SampleSwift/AuthenticationExample/SwiftApplication.plist "$plist_secret"
77- # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/AuthCredentials.h.gpg \
78- # FirebaseAuth/Tests/SampleSwift/AuthCredentials.h "$plist_secret"
79- # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/GoogleService-Info.plist.gpg \
80- # FirebaseAuth/Tests/SampleSwift/GoogleService-Info.plist "$plist_secret"
81- # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/GoogleService-Info_multi.plist.gpg \
82- # FirebaseAuth/Tests/SampleSwift/GoogleService-Info_multi.plist "$plist_secret"
83- # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Sample.entitlements.gpg \
84- # FirebaseAuth/Tests/SampleSwift/Sample.entitlements "$plist_secret"
85- # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Credentials.swift.gpg \
86- # FirebaseAuth/Tests/SampleSwift/SwiftApiTests/Credentials.swift "$plist_secret"
87- # - name: Xcode
88- # run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
89- # - uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
90- # with:
91- # timeout_minutes: 15
92- # max_attempts: 3
93- # retry_wait_seconds: 120
94- # command: ([ -z $plist_secret ] || scripts/build.sh Auth iOS ${{ matrix.scheme }})
54+ integration-tests :
55+ # Don't run on private repo unless it is a PR.
56+ if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
57+ needs : spm
58+ strategy :
59+ matrix :
60+ scheme : [ObjCApiTests, SwiftApiTests, AuthenticationExampleUITests]
61+ env :
62+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
63+ FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT : 1
64+ runs-on : macos-15
65+ steps :
66+ - uses : actions/checkout@v4
67+ - uses : actions/cache/restore@v4
68+ with :
69+ path : .build
70+ key : ${{ needs.spm.outputs.cache_key }}
71+ - name : Install Secrets
72+ run : |
73+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthCredentials.h.gpg \
74+ FirebaseAuth/Tests/SampleSwift/ObjCApiTests/AuthCredentials.h "$plist_secret"
75+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/SwiftApplication.plist.gpg \
76+ FirebaseAuth/Tests/SampleSwift/AuthenticationExample/SwiftApplication.plist "$plist_secret"
77+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/AuthCredentials.h.gpg \
78+ FirebaseAuth/Tests/SampleSwift/AuthCredentials.h "$plist_secret"
79+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/GoogleService-Info.plist.gpg \
80+ FirebaseAuth/Tests/SampleSwift/GoogleService-Info.plist "$plist_secret"
81+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/GoogleService-Info_multi.plist.gpg \
82+ FirebaseAuth/Tests/SampleSwift/GoogleService-Info_multi.plist "$plist_secret"
83+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Sample.entitlements.gpg \
84+ FirebaseAuth/Tests/SampleSwift/Sample.entitlements "$plist_secret"
85+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Credentials.swift.gpg \
86+ FirebaseAuth/Tests/SampleSwift/SwiftApiTests/Credentials.swift "$plist_secret"
87+ - name : Xcode
88+ run : sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
89+ - uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
90+ with :
91+ timeout_minutes : 15
92+ max_attempts : 3
93+ retry_wait_seconds : 120
94+ command : ([ -z $plist_secret ] || scripts/build.sh Auth iOS ${{ matrix.scheme }})
9595
9696 quickstart :
9797 uses : ./.github/workflows/common_quickstart.yml
@@ -132,13 +132,14 @@ jobs:
132132 # testapp_dir: quickstart-ios/build-for-testing
133133 # test_type: "xctest"
134134
135- # auth-cron-only:
136- # needs: pod_lib_lint
137- # uses: ./.github/workflows/common_cocoapods_cron.yml
138- # with:
139- # product: FirebaseAuth
140- # platforms: '[ "ios", "tvos --skip-tests", "macos --skip-tests", "watchos --skip-tests" ]'
141- # flags: '[ "--use-static-frameworks" ]'
142- # setup_command: scripts/configure_test_keychain.sh
143- # secrets:
144- # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
135+ auth-cron-only :
136+ needs : pod_lib_lint
137+ uses : ./.github/workflows/common_cocoapods_cron.yml
138+ with :
139+ product : FirebaseAuth
140+ platforms : ' [ "ios", "tvos --skip-tests", "macos --skip-tests", "watchos --skip-tests" ]'
141+ flags : ' [ "--use-static-frameworks" ]'
142+ setup_command : scripts/configure_test_keychain.sh
143+ ignore_deprecation_warnings : true
144+ secrets :
145+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
0 commit comments