@@ -27,87 +27,79 @@ concurrency:
27
27
cancel-in-progress : true
28
28
29
29
jobs :
30
- spm :
31
- strategy :
32
- matrix :
33
- target : [DatabaseUnit, DatabaseUnitSwift]
34
- uses : ./.github/workflows/common.yml
35
- with :
36
- target : ${{ matrix.target }}
30
+ # spm:
31
+ # strategy:
32
+ # matrix:
33
+ # target: [DatabaseUnit, DatabaseUnitSwift]
34
+ # uses: ./.github/workflows/common.yml
35
+ # with:
36
+ # target: ${{ matrix.target }}
37
37
38
- catalyst :
39
- uses : ./.github/workflows/common_catalyst.yml
40
- with :
41
- product : FirebaseDatabase
42
- target : FirebaseDatabase-Unit-unit
38
+ # catalyst:
39
+ # uses: ./.github/workflows/common_catalyst.yml
40
+ # with:
41
+ # product: FirebaseDatabase
42
+ # target: FirebaseDatabase-Unit-unit
43
43
44
- pod_lib_lint :
45
- uses : ./.github/workflows/common_cocoapods.yml
46
- with :
47
- product : FirebaseDatabase
48
- test_specs : unit
49
- buildonly_platforms : macOS
44
+ # pod_lib_lint:
45
+ # uses: ./.github/workflows/common_cocoapods.yml
46
+ # with:
47
+ # product: FirebaseDatabase
48
+ # test_specs: unit
49
+ # buildonly_platforms: macOS
50
50
51
- integration :
52
- # Don't run on private repo unless it is a PR.
53
- if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
54
- runs-on : macos-15
55
- steps :
56
- - uses : actions/checkout@v4
57
- - uses : mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
58
- with :
59
- cache_key : integration${{ matrix.os }}
60
- - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
61
- - name : Setup Bundler
62
- run : scripts/setup_bundler.sh
63
- - name : Install xcpretty
64
- run : gem install xcpretty
65
- - name : Xcode
66
- run : sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
67
- - name : IntegrationTest
68
- # Only iOS to mitigate flakes.
69
- run : scripts/third_party/travis/retry.sh scripts/build.sh Database iOS integration
51
+ # integration:
52
+ # # Don't run on private repo unless it is a PR.
53
+ # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
54
+ # runs-on: macos-15
55
+ # steps:
56
+ # - uses: actions/checkout@v4
57
+ # - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
58
+ # with:
59
+ # cache_key: integration${{ matrix.os }}
60
+ # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
61
+ # - name: Setup Bundler
62
+ # run: scripts/setup_bundler.sh
63
+ # - name: Install xcpretty
64
+ # run: gem install xcpretty
65
+ # - name: Xcode
66
+ # run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
67
+ # - name: IntegrationTest
68
+ # # Only iOS to mitigate flakes.
69
+ # run: scripts/third_party/travis/retry.sh scripts/build.sh Database iOS integration
70
70
71
71
quickstart :
72
- # Don't run on private repo unless it is a PR.
73
- if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
74
- env :
75
- plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
76
- signin_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
77
- runs-on : macos-15
78
- steps :
79
- - uses : actions/checkout@v4
80
- - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
81
- - name : Setup quickstart
82
- run : scripts/setup_quickstart.sh database
83
- - name : Install Secret GoogleService-Info.plist
84
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-database.plist.gpg \
85
- quickstart-ios/database/GoogleService-Info.plist "$plist_secret"
86
- - name : Xcode
87
- run : sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
88
- - name : Test objc quickstart
89
- run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false)
90
- - name : Test swift quickstart
91
- run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false swift)
92
-
93
- database-cron-only :
94
- # Don't run on private repo.
95
- if : github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
96
- runs-on : macos-15
72
+ uses : ./.github/workflows/common_quickstart.yml
97
73
strategy :
98
74
matrix :
99
- podspec : [FirebaseDatabase.podspec]
100
- target : [ios, tvos, macos]
101
- flags : [
102
- ' --skip-tests --use-static-frameworks'
103
- ]
104
- needs : pod_lib_lint
105
- steps :
106
- - uses : actions/checkout@v4
107
- - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
108
- - name : Xcode
109
- run : sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
110
- - name : Setup Bundler
111
- run : scripts/setup_bundler.sh
112
- - name : PodLibLint database Cron
113
- run : scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} ${{ matrix.flags }}
75
+ quickstart_type : [objc, swift]
76
+ with :
77
+ product : Database
78
+ is_legacy : false
79
+ setup_command : scripts/setup_quickstart.sh database
80
+ plist_src_path : scripts/gha-encrypted/qs-database.plist.gpg
81
+ plist_dst_path : quickstart-ios/database/GoogleService-Info.plist
82
+ quickstart_type : ${{ matrix.quickstart_type }}
83
+ run_tests : false
84
+
85
+ # database-cron-only:
86
+ # # Don't run on private repo.
87
+ # if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
88
+ # runs-on: macos-15
89
+ # strategy:
90
+ # matrix:
91
+ # podspec: [FirebaseDatabase.podspec]
92
+ # target: [ios, tvos, macos]
93
+ # flags: [
94
+ # '--skip-tests --use-static-frameworks'
95
+ # ]
96
+ # needs: pod_lib_lint
97
+ # steps:
98
+ # - uses: actions/checkout@v4
99
+ # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
100
+ # - name: Xcode
101
+ # run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
102
+ # - name: Setup Bundler
103
+ # run: scripts/setup_bundler.sh
104
+ # - name: PodLibLint database Cron
105
+ # run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} ${{ matrix.flags }}
0 commit comments