Skip to content

Commit c39fe8d

Browse files
authored
Merge pull request #1806 from firebase/nc/quickstarts
infra: Remove ObjC quickstarts
2 parents 251909a + 62ab3f7 commit c39fe8d

File tree

436 files changed

+1587
-28839
lines changed

Some content is hidden

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

436 files changed

+1587
-28839
lines changed

.github/workflows/abtesting.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]
@@ -31,31 +34,6 @@ env:
3134
SAMPLE: ABTesting
3235

3336
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
5937
spm:
6038
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
6139
runs-on: macOS-15
@@ -92,7 +70,6 @@ jobs:
9270
OS: ${{ matrix.os }}
9371
DEVICE: ${{ matrix.device }}
9472
TEST: ${{ matrix.test }}
95-
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
9673
steps:
9774
- name: Checkout
9875
uses: actions/checkout@master

.github/workflows/analytics.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]
@@ -27,8 +30,8 @@ env:
2730
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2831

2932
jobs:
30-
cocoapods:
31-
name: cocoapods - ${{ matrix.os }}
33+
spm:
34+
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
3235
runs-on: macOS-15
3336
strategy:
3437
matrix:
@@ -52,28 +55,24 @@ jobs:
5255
device: localhost
5356
scheme: AnalyticsExampleMac
5457
test: true
58+
5559
env:
56-
SPM: false
57-
LEGACY: false
60+
SPM: true
5861
OS: ${{ matrix.os }}
5962
DEVICE: ${{ matrix.device }}
60-
SCHEME: ${{ matrix.scheme }}
61-
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
63+
SCHEME: ${{ matrix.scheme || 'AnalyticsExample' }}
64+
DIR: analytics
6265
steps:
6366
- name: Checkout
6467
uses: actions/checkout@master
68+
- name: Xcode
69+
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
6570
- name: Setup
6671
run: |
6772
cd analytics
68-
gem install bundler
69-
bundle install
7073
gem install xcpretty
71-
bundle exec pod install --repo-update
7274
../scripts/install_prereqs/analytics.sh
7375
- name: Build Swift
7476
run: ./scripts/test.sh
7577
env:
7678
TEST: ${{ matrix.test }}
77-
SWIFT_SUFFIX: ""
78-
79-
#TODO: Add `spm` job.

.github/workflows/authentication.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]
@@ -27,27 +30,25 @@ env:
2730
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2831

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

.github/workflows/check.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
push:

.github/workflows/config.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]
@@ -27,28 +30,22 @@ env:
2730
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2831

2932
jobs:
30-
cocoapods:
31-
name: cocoapods
33+
spm:
3234
runs-on: macOS-15
3335
env:
34-
SPM: false
35-
LEGACY: false
36-
SWIFT_SUFFIX: ""
36+
OS: iOS
37+
DEVICE: iPhone 16
38+
DIR: config
39+
SPM: true
40+
SCHEME: ConfigExample
3741
TEST: true
3842
steps:
3943
- name: Checkout
4044
uses: actions/checkout@master
4145
- name: Setup
4246
run: |
4347
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: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Crashlytics
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]
@@ -27,31 +30,6 @@ env:
2730
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2831

2932
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
5533
spm:
5634
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
5735
runs-on: macOS-15
@@ -79,7 +57,6 @@ jobs:
7957
OS: ${{ matrix.os }}
8058
DEVICE: ${{ matrix.device }}
8159
TEST: ${{ matrix.test }}
82-
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
8360
steps:
8461
- name: Checkout
8562
uses: actions/checkout@master

.github/workflows/database.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]
@@ -27,30 +30,27 @@ env:
2730
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2831

2932
jobs:
30-
cocoapods:
31-
name: cocoapods
33+
spm-buildonly:
34+
name: spm (non-SwiftUI)
3235
runs-on: macOS-15
3336
env:
34-
SPM: false
35-
LEGACY: false
3637
OS: iOS
38+
SPM: true
39+
DIR: database
3740
DEVICE: iPhone 16
3841
TEST: false
42+
SCHEME: DatabaseExample
3943
steps:
4044
- name: Checkout
4145
uses: actions/checkout@master
4246
- name: Setup
4347
run: |
44-
cd database
45-
gem install bundler
46-
bundle install
4748
gem install xcpretty
48-
bundle exec pod install --repo-update
49+
cd database
4950
../scripts/install_prereqs/database.sh
5051
- name: Build Swift
5152
run: ./scripts/test.sh
52-
env:
53-
SWIFT_SUFFIX: Swift
53+
5454
spm:
5555
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
5656
runs-on: macOS-15
@@ -75,7 +75,6 @@ jobs:
7575
OS: ${{ matrix.os }}
7676
DEVICE: ${{ matrix.device }}
7777
TEST: ${{ matrix.test }}
78-
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
7978
steps:
8079
- name: Checkout
8180
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
4745
steps:
4846
- name: Checkout
4947
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: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Firestore
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]
@@ -27,27 +30,22 @@ env:
2730
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2831

2932
jobs:
30-
cocoapods:
31-
name: cocoapods
33+
spm:
3234
runs-on: macOS-15
3335
env:
34-
SPM: false
35-
LEGACY: false
36+
SPM: true
3637
OS: iOS
38+
DIR: firestore
3739
DEVICE: iPhone 16
3840
TEST: false
41+
SCHEME: FirestoreExample
3942
steps:
4043
- name: Checkout
4144
uses: actions/checkout@master
4245
- name: Setup
4346
run: |
4447
cd firestore
45-
gem install bundler
46-
bundle install
4748
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Functions
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]
@@ -48,8 +51,6 @@ jobs:
4851
OS: ${{ matrix.os }}
4952
DEVICE: ${{ matrix.device }}
5053
TEST: false
51-
XCODE_VERSION: ${{ matrix.xcode }}
52-
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
5354
steps:
5455
- name: Checkout
5556
uses: actions/checkout@master

0 commit comments

Comments
 (0)