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