@@ -22,111 +22,107 @@ concurrency:
22
22
cancel-in-progress : true
23
23
24
24
jobs :
25
- spm :
26
- uses : ./.github/workflows/common.yml
27
- with :
28
- target : FirebaseInstallations
29
- buildonly_platforms : all
25
+ # spm:
26
+ # uses: ./.github/workflows/common.yml
27
+ # with:
28
+ # target: FirebaseInstallations
29
+ # buildonly_platforms: all
30
30
31
- catalyst :
32
- uses : ./.github/workflows/common_catalyst.yml
33
- with :
34
- product : FirebaseInstallations
35
- target : FirebaseInstallations-Unit-unit
31
+ # catalyst:
32
+ # uses: ./.github/workflows/common_catalyst.yml
33
+ # with:
34
+ # product: FirebaseInstallations
35
+ # target: FirebaseInstallations-Unit-unit
36
+
37
+ # pod_lib_lint:
38
+ # uses: ./.github/workflows/common_cocoapods.yml
39
+ # with:
40
+ # product: FirebaseInstallations
41
+ # setup_command: |
42
+ # scripts/configure_test_keychain.sh
43
+ # mkdir -p FirebaseInstallations/Source/Tests/Resources
44
+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg \
45
+ # FirebaseInstallations/Source/Tests/Resources/GoogleService-Info.plist "$plist_secret"
46
+ # export FIS_INTEGRATION_TESTS_REQUIRED=1
47
+ # secrets:
48
+ # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
36
49
37
- pod_lib_lint :
38
- uses : ./.github/workflows/common_cocoapods.yml
50
+ quickstart :
51
+ uses : ./.github/workflows/common_quickstart.yml
52
+ strategy :
53
+ matrix :
54
+ quickstart_type : [objc, swift]
39
55
with :
40
- product : FirebaseInstallations
41
- setup_command : |
42
- scripts/configure_test_keychain.sh
43
- mkdir -p FirebaseInstallations/Source/Tests/Resources
44
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg \
45
- FirebaseInstallations/Source/Tests/Resources/GoogleService-Info.plist "$plist_secret"
46
- export FIS_INTEGRATION_TESTS_REQUIRED=1
56
+ product : Installations
57
+ is_legacy : false
58
+ setup_command : scripts/setup_quickstart.sh installations
59
+ plist_src_path : scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg
60
+ plist_dst_path : quickstart-ios/installations/GoogleService-Info.plist
61
+ quickstart_type : ${{ matrix.quickstart_type }}
47
62
secrets :
48
63
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
49
64
50
- quickstart :
51
- # Don't run on private repo unless it is a PR.
52
- if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
53
-
54
- runs-on : macos-15
55
- steps :
56
- - uses : actions/checkout@v4
57
- - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
58
- - name : Xcode
59
- run : sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
60
- - name : Setup quickstart
61
- run : scripts/setup_quickstart.sh installations
62
- - name : Copy mock plist
63
- run : cp quickstart-ios/mock-GoogleService-Info.plist quickstart-ios/installations/GoogleService-Info.plist
64
- - name : Test objc quickstart
65
- run : scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Installations true
66
- - name : Test swift quickstart
67
- run : scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Installations true swift
68
-
69
- quickstart-ftl-cron-only :
70
- # Don't run on private repo.
71
- if : github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
65
+ # quickstart-ftl-cron-only:
66
+ # # Don't run on private repo.
67
+ # if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
72
68
73
- runs-on : macos-15
74
- steps :
75
- - uses : actions/checkout@v4
76
- - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
77
- - uses : actions/setup-python@v5
78
- with :
79
- python-version : ' 3.11'
80
- - name : Xcode
81
- run : sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
82
- - name : Setup quickstart
83
- run : scripts/setup_quickstart.sh installations
84
- - name : Copy mock plist
85
- run : cp quickstart-ios/mock-GoogleService-Info.plist quickstart-ios/installations/GoogleService-Info.plist
86
- - name : Build objc quickstart
87
- run : scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh Installations
88
- - name : Build swift quickstart
89
- run : scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh Installations swift
90
- - id : ftl_test
91
- uses :
FirebaseExtended/github-actions/[email protected]
92
- with :
93
- credentials_json : ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CREDENTIALS }}
94
- testapp_dir : quickstart-ios/build-for-testing
95
- test_type : " xctest"
69
+ # runs-on: macos-15
70
+ # steps:
71
+ # - uses: actions/checkout@v4
72
+ # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
73
+ # - uses: actions/setup-python@v5
74
+ # with:
75
+ # python-version: '3.11'
76
+ # - name: Xcode
77
+ # run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
78
+ # - name: Setup quickstart
79
+ # run: scripts/setup_quickstart.sh installations
80
+ # - name: Copy mock plist
81
+ # run: cp quickstart-ios/mock-GoogleService-Info.plist quickstart-ios/installations/GoogleService-Info.plist
82
+ # - name: Build objc quickstart
83
+ # run: scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh Installations
84
+ # - name: Build swift quickstart
85
+ # run: scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh Installations swift
86
+ # - id: ftl_test
87
+ # uses: FirebaseExtended/github-actions/[email protected]
88
+ # with:
89
+ # credentials_json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CREDENTIALS }}
90
+ # testapp_dir: quickstart-ios/build-for-testing
91
+ # test_type: "xctest"
96
92
97
- installations-cron-only :
98
- if : github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
93
+ # installations-cron-only:
94
+ # if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
99
95
100
- runs-on : macos-15
101
- env :
102
- plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
103
- FIR_IID_INTEGRATION_TESTS_REQUIRED : ${{ secrets.GHASecretsGPGPassphrase1 }}
104
- strategy :
105
- matrix :
106
- target : [ios, tvos, macos]
107
- flags : [
108
- ' --use-static-frameworks'
109
- ]
110
- needs : pod_lib_lint
111
- steps :
112
- - uses : actions/checkout@v4
113
- - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
114
- - name : Xcode
115
- run : sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
116
- - name : Setup Bundler
117
- run : scripts/setup_bundler.sh
118
- - name : Configure test keychain
119
- run : scripts/configure_test_keychain.sh
120
- - name : Install GoogleService-Info.plist
121
- run : |
122
- mkdir -p FirebaseInstallations/Source/Tests/Resources
123
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg \
124
- FirebaseInstallations/Source/Tests/Resources/GoogleService-Info.plist "$plist_secret"
125
- - name : Get boolean for secrets available
126
- id : secrets
127
- run : echo "::set-output name=val::$([[ -z $plist_secret ]] && echo "0" || echo "1")"
128
- - name : PodLibLint Installations Cron
129
- run : |
130
- export FIS_INTEGRATION_TESTS_REQUIRED=${{ steps.secrets.outputs.val }}
131
- scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseInstallations.podspec \
132
- --platforms=${{ matrix.target }} ${{ matrix.flags }} \
96
+ # runs-on: macos-15
97
+ # env:
98
+ # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
99
+ # FIR_IID_INTEGRATION_TESTS_REQUIRED: ${{ secrets.GHASecretsGPGPassphrase1 }}
100
+ # strategy:
101
+ # matrix:
102
+ # target: [ios, tvos, macos]
103
+ # flags: [
104
+ # '--use-static-frameworks'
105
+ # ]
106
+ # needs: pod_lib_lint
107
+ # steps:
108
+ # - uses: actions/checkout@v4
109
+ # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
110
+ # - name: Xcode
111
+ # run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
112
+ # - name: Setup Bundler
113
+ # run: scripts/setup_bundler.sh
114
+ # - name: Configure test keychain
115
+ # run: scripts/configure_test_keychain.sh
116
+ # - name: Install GoogleService-Info.plist
117
+ # run: |
118
+ # mkdir -p FirebaseInstallations/Source/Tests/Resources
119
+ # scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg \
120
+ # FirebaseInstallations/Source/Tests/Resources/GoogleService-Info.plist "$plist_secret"
121
+ # - name: Get boolean for secrets available
122
+ # id: secrets
123
+ # run: echo "::set-output name=val::$([[ -z $plist_secret ]] && echo "0" || echo "1")"
124
+ # - name: PodLibLint Installations Cron
125
+ # run: |
126
+ # export FIS_INTEGRATION_TESTS_REQUIRED=${{ steps.secrets.outputs.val }}
127
+ # scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseInstallations.podspec \
128
+ # --platforms=${{ matrix.target }} ${{ matrix.flags }} \
0 commit comments