Skip to content

Commit 0b2a3e7

Browse files
authored
Revert "Merge pull request #1806 from firebase/nc/quickstarts" (#1811)
This reverts commit c39fe8d, reversing changes made to 251909a.
1 parent c39fe8d commit 0b2a3e7

File tree

437 files changed

+28899
-1647
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

437 files changed

+28899
-1647
lines changed

.github/workflows/abtesting.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: A/B Testing
22

3-
permissions:
4-
contents: read
5-
63
on:
74
push:
85
branches: [ main ]
@@ -34,6 +31,31 @@ env:
3431
SAMPLE: ABTesting
3532

3633
jobs:
34+
cocoapods:
35+
name: cocoapods
36+
runs-on: macOS-15
37+
env:
38+
SPM: false
39+
TEST: true
40+
steps:
41+
- name: Checkout
42+
uses: actions/checkout@master
43+
- name: Setup
44+
run: |
45+
cd abtesting/LegacyABTestingQuickstart
46+
gem install bundler
47+
bundle install
48+
gem install xcpretty
49+
bundle exec pod install --repo-update
50+
cd ..
51+
../scripts/install_prereqs/abtesting.sh
52+
- name: Build Swift
53+
run: ./scripts/test.sh
54+
env:
55+
LEGACY: true
56+
SWIFT_SUFFIX: ""
57+
OS: iOS
58+
DEVICE: iPhone 16
3759
spm:
3860
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
3961
runs-on: macOS-15
@@ -70,6 +92,7 @@ jobs:
7092
OS: ${{ matrix.os }}
7193
DEVICE: ${{ matrix.device }}
7294
TEST: ${{ matrix.test }}
95+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
7396
steps:
7497
- name: Checkout
7598
uses: actions/checkout@master

.github/workflows/analytics.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Analytics
22

3-
permissions:
4-
contents: read
5-
63
on:
74
push:
85
branches: [ main ]
@@ -30,8 +27,8 @@ env:
3027
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
3128

3229
jobs:
33-
spm:
34-
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
30+
cocoapods:
31+
name: cocoapods - ${{ matrix.os }}
3532
runs-on: macOS-15
3633
strategy:
3734
matrix:
@@ -55,24 +52,28 @@ jobs:
5552
device: localhost
5653
scheme: AnalyticsExampleMac
5754
test: true
58-
5955
env:
60-
SPM: true
56+
SPM: false
57+
LEGACY: false
6158
OS: ${{ matrix.os }}
6259
DEVICE: ${{ matrix.device }}
63-
SCHEME: ${{ matrix.scheme || 'AnalyticsExample' }}
64-
DIR: analytics
60+
SCHEME: ${{ matrix.scheme }}
61+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
6562
steps:
6663
- name: Checkout
6764
uses: actions/checkout@master
68-
- name: Xcode
69-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
7065
- name: Setup
7166
run: |
7267
cd analytics
68+
gem install bundler
69+
bundle install
7370
gem install xcpretty
71+
bundle exec pod install --repo-update
7472
../scripts/install_prereqs/analytics.sh
7573
- name: Build Swift
7674
run: ./scripts/test.sh
7775
env:
7876
TEST: ${{ matrix.test }}
77+
SWIFT_SUFFIX: ""
78+
79+
#TODO: Add `spm` job.

.github/workflows/authentication.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Authentication
22

3-
permissions:
4-
contents: read
5-
63
on:
74
push:
85
branches: [ main ]
@@ -30,25 +27,27 @@ env:
3027
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
3128

3229
jobs:
33-
spm:
30+
cocoapods:
31+
name: cocoapods
3432
runs-on: macOS-15
3533
env:
34+
SPM: false
35+
LEGACY: false
3636
OS: iOS
37-
SETUP: authentication
38-
SPM: true
39-
DIR: authentication
4037
DEVICE: iPhone 16
4138
TEST: false
42-
SCHEME: AuthenticationExample
4339
steps:
4440
- name: Checkout
4541
uses: actions/checkout@master
46-
- name: Xcode
47-
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
4842
- name: Setup
4943
run: |
44+
cd authentication
45+
gem install bundler
46+
bundle install
5047
gem install xcpretty
51-
cd $SETUP
52-
../scripts/install_prereqs/${SETUP}.sh
53-
- name: Build and Test SwiftUI (${OS})
48+
bundle exec pod install --repo-update
49+
../scripts/install_prereqs/authentication.sh
50+
- name: Build Swift
5451
run: ./scripts/test.sh
52+
env:
53+
SWIFT_SUFFIX: ""

.github/workflows/check.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: check
22

3-
permissions:
4-
contents: read
5-
63
on:
74
pull_request:
85
push:

.github/workflows/config.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Remote Config
22

3-
permissions:
4-
contents: read
5-
63
on:
74
push:
85
branches: [ main ]
@@ -30,22 +27,28 @@ env:
3027
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
3128

3229
jobs:
33-
spm:
30+
cocoapods:
31+
name: cocoapods
3432
runs-on: macOS-15
3533
env:
36-
OS: iOS
37-
DEVICE: iPhone 16
38-
DIR: config
39-
SPM: true
40-
SCHEME: ConfigExample
34+
SPM: false
35+
LEGACY: false
36+
SWIFT_SUFFIX: ""
4137
TEST: true
4238
steps:
4339
- name: Checkout
4440
uses: actions/checkout@master
4541
- name: Setup
4642
run: |
4743
cd config
44+
gem install bundler
45+
bundle install
46+
gem install xcpretty
47+
bundle exec pod install --repo-update
4848
../scripts/install_prereqs/config.sh
4949
xcrun simctl boot "iPhone 16"
5050
- name: Build Swift
5151
run: ./scripts/test.sh
52+
env:
53+
OS: iOS
54+
DEVICE: iPhone 16

.github/workflows/crashlytics.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Crashlytics
22

3-
permissions:
4-
contents: read
5-
63
on:
74
push:
85
branches: [ main ]
@@ -30,6 +27,31 @@ env:
3027
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
3128

3229
jobs:
30+
cocoapods:
31+
name: cocoapods
32+
runs-on: macOS-15
33+
env:
34+
SPM: false
35+
LEGACY: true
36+
OS: iOS
37+
DEVICE: iPhone 16
38+
TEST: true
39+
steps:
40+
- name: Checkout
41+
uses: actions/checkout@master
42+
- name: Setup
43+
run: |
44+
cd crashlytics/LegacyCrashlyticsQuickstart
45+
gem install bundler
46+
bundle install
47+
gem install xcpretty
48+
bundle exec pod install --repo-update
49+
cd ..
50+
../scripts/install_prereqs/crashlytics.sh
51+
- name: Build Swift
52+
run: ./scripts/test.sh
53+
env:
54+
SWIFT_SUFFIX: Swift
3355
spm:
3456
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
3557
runs-on: macOS-15
@@ -57,6 +79,7 @@ jobs:
5779
OS: ${{ matrix.os }}
5880
DEVICE: ${{ matrix.device }}
5981
TEST: ${{ matrix.test }}
82+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
6083
steps:
6184
- name: Checkout
6285
uses: actions/checkout@master

.github/workflows/database.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Database
22

3-
permissions:
4-
contents: read
5-
63
on:
74
push:
85
branches: [ main ]
@@ -30,27 +27,30 @@ env:
3027
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
3128

3229
jobs:
33-
spm-buildonly:
34-
name: spm (non-SwiftUI)
30+
cocoapods:
31+
name: cocoapods
3532
runs-on: macOS-15
3633
env:
34+
SPM: false
35+
LEGACY: false
3736
OS: iOS
38-
SPM: true
39-
DIR: database
4037
DEVICE: iPhone 16
4138
TEST: false
42-
SCHEME: DatabaseExample
4339
steps:
4440
- name: Checkout
4541
uses: actions/checkout@master
4642
- name: Setup
4743
run: |
48-
gem install xcpretty
4944
cd database
45+
gem install bundler
46+
bundle install
47+
gem install xcpretty
48+
bundle exec pod install --repo-update
5049
../scripts/install_prereqs/database.sh
5150
- name: Build Swift
5251
run: ./scripts/test.sh
53-
52+
env:
53+
SWIFT_SUFFIX: Swift
5454
spm:
5555
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
5656
runs-on: macOS-15
@@ -75,6 +75,7 @@ jobs:
7575
OS: ${{ matrix.os }}
7676
DEVICE: ${{ matrix.device }}
7777
TEST: ${{ matrix.test }}
78+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
7879
steps:
7980
- name: Checkout
8081
uses: actions/checkout@master

.github/workflows/firebaseai.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242
OS: ${{ matrix.platform }}
4343
DEVICE: ${{ matrix.device }}
4444
TEST: false
45+
XCODE_VERSION: ${{ matrix.xcode }}
46+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
4547
steps:
4648
- name: Checkout
4749
uses: actions/checkout@master
48-
- name: Xcode
49-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
5050
- name: Setup
5151
run: |
5252
gem install xcpretty

.github/workflows/firestore.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Firestore
22

3-
permissions:
4-
contents: read
5-
63
on:
74
push:
85
branches: [ main ]
@@ -30,22 +27,27 @@ env:
3027
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
3128

3229
jobs:
33-
spm:
30+
cocoapods:
31+
name: cocoapods
3432
runs-on: macOS-15
3533
env:
36-
SPM: true
34+
SPM: false
35+
LEGACY: false
3736
OS: iOS
38-
DIR: firestore
3937
DEVICE: iPhone 16
4038
TEST: false
41-
SCHEME: FirestoreExample
4239
steps:
4340
- name: Checkout
4441
uses: actions/checkout@master
4542
- name: Setup
4643
run: |
4744
cd firestore
45+
gem install bundler
46+
bundle install
4847
gem install xcpretty
48+
bundle exec pod install --repo-update
4949
../scripts/install_prereqs/firestore.sh
5050
- name: Build
5151
run: ./scripts/test.sh
52+
env:
53+
SWIFT_SUFFIX: ""

.github/workflows/functions.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Functions
22

3-
permissions:
4-
contents: read
5-
63
on:
74
push:
85
branches: [ main ]
@@ -51,6 +48,8 @@ jobs:
5148
OS: ${{ matrix.os }}
5249
DEVICE: ${{ matrix.device }}
5350
TEST: false
51+
XCODE_VERSION: ${{ matrix.xcode }}
52+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
5453
steps:
5554
- name: Checkout
5655
uses: actions/checkout@master

0 commit comments

Comments
 (0)