@@ -27,143 +27,136 @@ concurrency:
27
27
cancel-in-progress : true
28
28
29
29
jobs :
30
- spm :
31
- uses : ./.github/workflows/common.yml
32
- with :
33
- target : AuthUnit
34
- buildonly_platforms : macOS
30
+ # spm:
31
+ # uses: ./.github/workflows/common.yml
32
+ # with:
33
+ # target: AuthUnit
34
+ # buildonly_platforms: macOS
35
35
36
- catalyst :
37
- uses : ./.github/workflows/common_catalyst.yml
38
- with :
39
- product : FirebaseAuth
40
- target : FirebaseAuth-Unit-unit
41
- buildonly : true
36
+ # catalyst:
37
+ # uses: ./.github/workflows/common_catalyst.yml
38
+ # with:
39
+ # product: FirebaseAuth
40
+ # target: FirebaseAuth-Unit-unit
41
+ # buildonly: true
42
42
43
- pod_lib_lint :
44
- strategy :
45
- matrix :
46
- product : [FirebaseAuthInterop, FirebaseAuth]
47
- uses : ./.github/workflows/common_cocoapods.yml
48
- with :
49
- product : ${{ matrix.product }}
50
- buildonly_platforms : macOS
43
+ # pod_lib_lint:
44
+ # strategy:
45
+ # matrix:
46
+ # product: [FirebaseAuthInterop, FirebaseAuth]
47
+ # uses: ./.github/workflows/common_cocoapods.yml
48
+ # with:
49
+ # product: ${{ matrix.product }}
50
+ # buildonly_platforms: macOS
51
51
52
- integration-tests :
53
- # Don't run on private repo unless it is a PR.
54
- if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
55
- needs : spm
56
- strategy :
57
- matrix :
58
- scheme : [ObjCApiTests, SwiftApiTests, AuthenticationExampleUITests]
59
- env :
60
- plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
61
- FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT : 1
62
- runs-on : macos-15
63
- steps :
64
- - uses : actions/checkout@v4
65
- - uses : actions/cache/restore@v4
66
- with :
67
- path : .build
68
- key : ${{ needs.spm.outputs.cache_key }}
69
- - name : Install Secrets
70
- run : |
71
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthCredentials.h.gpg \
72
- FirebaseAuth/Tests/SampleSwift/ObjCApiTests/AuthCredentials.h "$plist_secret"
73
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/SwiftApplication.plist.gpg \
74
- FirebaseAuth/Tests/SampleSwift/AuthenticationExample/SwiftApplication.plist "$plist_secret"
75
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/AuthCredentials.h.gpg \
76
- FirebaseAuth/Tests/SampleSwift/AuthCredentials.h "$plist_secret"
77
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/GoogleService-Info.plist.gpg \
78
- FirebaseAuth/Tests/SampleSwift/GoogleService-Info.plist "$plist_secret"
79
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/GoogleService-Info_multi.plist.gpg \
80
- FirebaseAuth/Tests/SampleSwift/GoogleService-Info_multi.plist "$plist_secret"
81
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Sample.entitlements.gpg \
82
- FirebaseAuth/Tests/SampleSwift/Sample.entitlements "$plist_secret"
83
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Credentials.swift.gpg \
84
- FirebaseAuth/Tests/SampleSwift/SwiftApiTests/Credentials.swift "$plist_secret"
85
- - name : Xcode
86
- run : sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
87
- - uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
88
- with :
89
- timeout_minutes : 15
90
- max_attempts : 3
91
- retry_wait_seconds : 120
92
- command : ([ -z $plist_secret ] || scripts/build.sh Auth iOS ${{ matrix.scheme }})
52
+ # integration-tests:
53
+ # # Don't run on private repo unless it is a PR.
54
+ # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
55
+ # needs: spm
56
+ # strategy:
57
+ # matrix:
58
+ # scheme: [ObjCApiTests, SwiftApiTests, AuthenticationExampleUITests]
59
+ # env:
60
+ # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
61
+ # FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
62
+ # runs-on: macos-15
63
+ # steps:
64
+ # - uses: actions/checkout@v4
65
+ # - uses: actions/cache/restore@v4
66
+ # with:
67
+ # path: .build
68
+ # key: ${{ needs.spm.outputs.cache_key }}
69
+ # - name: Install Secrets
70
+ # run: |
71
+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthCredentials.h.gpg \
72
+ # FirebaseAuth/Tests/SampleSwift/ObjCApiTests/AuthCredentials.h "$plist_secret"
73
+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/SwiftApplication.plist.gpg \
74
+ # FirebaseAuth/Tests/SampleSwift/AuthenticationExample/SwiftApplication.plist "$plist_secret"
75
+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/AuthCredentials.h.gpg \
76
+ # FirebaseAuth/Tests/SampleSwift/AuthCredentials.h "$plist_secret"
77
+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/GoogleService-Info.plist.gpg \
78
+ # FirebaseAuth/Tests/SampleSwift/GoogleService-Info.plist "$plist_secret"
79
+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/GoogleService-Info_multi.plist.gpg \
80
+ # FirebaseAuth/Tests/SampleSwift/GoogleService-Info_multi.plist "$plist_secret"
81
+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Sample.entitlements.gpg \
82
+ # FirebaseAuth/Tests/SampleSwift/Sample.entitlements "$plist_secret"
83
+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Credentials.swift.gpg \
84
+ # FirebaseAuth/Tests/SampleSwift/SwiftApiTests/Credentials.swift "$plist_secret"
85
+ # - name: Xcode
86
+ # run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
87
+ # - uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
88
+ # with:
89
+ # timeout_minutes: 15
90
+ # max_attempts: 3
91
+ # retry_wait_seconds: 120
92
+ # command: ([ -z $plist_secret ] || scripts/build.sh Auth iOS ${{ matrix.scheme }})
93
93
94
94
quickstart :
95
- # Don't run on private repo unless it is a PR.
96
- if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
97
-
98
- env :
95
+ uses : ./.github/workflows/common_quickstart.yml
96
+ with :
97
+ product : Authentication
98
+ is_legacy : false
99
+ setup_command : scripts/setup_quickstart.sh authentication
100
+ plist_src_path : scripts/gha-encrypted/qs-auth.plist.gpg
101
+ plist_dst_path : quickstart-ios/authentication/GoogleService-Info.plist
102
+ run_tests : false
103
+ secrets :
99
104
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
100
- signin_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
101
- runs-on : macos-15
102
- steps :
103
- - uses : actions/checkout@v4
104
- - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
105
- - name : Setup quickstart
106
- run : scripts/setup_quickstart.sh authentication
107
- - name : Install Secret GoogleService-Info.plist
108
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-auth.plist.gpg \
109
- quickstart-ios/authentication/GoogleService-Info.plist "$plist_secret"
110
- - name : Test swift quickstart
111
- run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Authentication false)
112
105
113
- # TODO(@sunmou99): currently have issue with this job, will re-enable it once the issue resolved.
114
- # quickstart-ftl-cron-only:
106
+ # # TODO(@sunmou99): currently have issue with this job, will re-enable it once the issue resolved.
107
+ # # quickstart-ftl-cron-only:
108
+ # # # Don't run on private repo.
109
+ # # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
110
+
111
+ # # env:
112
+ # # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
113
+ # # signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
114
+ # # runs-on: macos-14
115
+ # # steps:
116
+ # # - uses: actions/checkout@v4
117
+ # # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
118
+ # # - uses: actions/setup-python@v5
119
+ # # with:
120
+ # # python-version: '3.11'
121
+ # # - name: Setup quickstart
122
+ # # run: scripts/setup_quickstart.sh authentication
123
+ # # - name: Install Secret GoogleService-Info.plist
124
+ # # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-auth.plist.gpg \
125
+ # # quickstart-ios/authentication/GoogleService-Info.plist "$plist_secret"
126
+ # # - name: Build swift quickstart
127
+ # # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh Authentication)
128
+ # # - id: ftl_test
129
+ # # uses: FirebaseExtended/github-actions/[email protected]
130
+ # # with:
131
+ # # credentials_json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CREDENTIALS }}
132
+ # # testapp_dir: quickstart-ios/build-for-testing
133
+ # # test_type: "xctest"
134
+
135
+ # auth-cron-only:
115
136
# # Don't run on private repo.
116
- # if: ( github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request '
137
+ # if: github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk '
117
138
118
- # env:
119
- # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
120
- # signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
121
- # runs-on: macos-14
139
+ # runs-on: macos-15
140
+ # strategy:
141
+ # matrix:
142
+ # # The macos and tvos tests can hang, and watchOS doesn't have tests.
143
+ # target: [ios, tvos --skip-tests, macos --skip-tests, watchos --skip-tests]
144
+ # flags: [
145
+ # '--use-static-frameworks'
146
+ # ]
147
+ # needs: pod_lib_lint
122
148
# steps:
123
149
# - uses: actions/checkout@v4
124
150
# - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
125
- # - uses: actions/setup-python@v5
126
- # with:
127
- # python-version: '3.11'
128
- # - name: Setup quickstart
129
- # run: scripts/setup_quickstart.sh authentication
130
- # - name: Install Secret GoogleService-Info.plist
131
- # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-auth.plist.gpg \
132
- # quickstart-ios/authentication/GoogleService-Info.plist "$plist_secret"
133
- # - name: Build swift quickstart
134
- # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh Authentication)
135
- # - id: ftl_test
136
- # uses: FirebaseExtended/github-actions/[email protected]
151
+ # - name: Setup Xcode
152
+ # run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
153
+ # - name: Setup Bundler
154
+ # run: scripts/setup_bundler.sh
155
+ # - name: Configure test keychain
156
+ # run: scripts/configure_test_keychain.sh
157
+ # - uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
137
158
# with:
138
- # credentials_json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CREDENTIALS }}
139
- # testapp_dir: quickstart-ios/build-for-testing
140
- # test_type: "xctest"
141
-
142
- auth-cron-only :
143
- # Don't run on private repo.
144
- if : github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
145
-
146
- runs-on : macos-15
147
- strategy :
148
- matrix :
149
- # The macos and tvos tests can hang, and watchOS doesn't have tests.
150
- target : [ios, tvos --skip-tests, macos --skip-tests, watchos --skip-tests]
151
- flags : [
152
- ' --use-static-frameworks'
153
- ]
154
- needs : pod_lib_lint
155
- steps :
156
- - uses : actions/checkout@v4
157
- - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
158
- - name : Setup Xcode
159
- run : sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
160
- - name : Setup Bundler
161
- run : scripts/setup_bundler.sh
162
- - name : Configure test keychain
163
- run : scripts/configure_test_keychain.sh
164
- - uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
165
- with :
166
- timeout_minutes : 15
167
- max_attempts : 3
168
- retry_wait_seconds : 120
169
- command : scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
159
+ # timeout_minutes: 15
160
+ # max_attempts: 3
161
+ # retry_wait_seconds: 120
162
+ # command: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
0 commit comments