Skip to content
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
4827cef
move Analytics off of CocoaPods
morganchen12 Jan 16, 2025
e7319f4
move app distribution to spm
morganchen12 Jan 17, 2025
80e47a6
move Auth to swift 6 and spm
morganchen12 Jan 17, 2025
dfffbee
move remoteconfig to spm
morganchen12 Jan 17, 2025
53a5961
update Firebase package
morganchen12 Jan 17, 2025
ec46631
move database to spm
morganchen12 Jan 17, 2025
73678e3
migrate Firestore sample to spm
morganchen12 Jan 22, 2025
a0dd61d
update package version
morganchen12 Jan 22, 2025
af5b0c8
migrate to spm and remove fdl
morganchen12 Jan 22, 2025
2b72b65
migrate installations to spm and remove todos
morganchen12 Jan 22, 2025
6d27fcb
migrate messaging to spm
morganchen12 Jan 22, 2025
30a3934
move perf to spm
morganchen12 Jan 22, 2025
a7b7e8e
update firebase version
morganchen12 Jan 22, 2025
1df0e6e
use spm for tests
morganchen12 Jan 23, 2025
ff50fbd
move rc test to spm
morganchen12 Jan 23, 2025
1f902bb
fix database tests
morganchen12 Jan 27, 2025
4991feb
fix firestore build
morganchen12 Jan 27, 2025
79b0b98
fix iam and installations tests
morganchen12 Jan 28, 2025
e4d4ea9
fix style and remaining tests
morganchen12 Jan 28, 2025
ad94bb3
Merge branch 'main' into nc/spm
ncooke3 Aug 29, 2025
5c1c372
Merge pull request #1755 from firebase/nc/spm
ncooke3 Aug 29, 2025
b132aec
Update authentication.yml
ncooke3 Aug 29, 2025
662d082
Auto-update dependencies.
dpebot Sep 5, 2025
2bb3dfa
Merge pull request #1754 from firebase/dpebot-repositorygardener
ncooke3 Sep 5, 2025
b650880
refactor(storage): Move storage qs to root of storage directory
ncooke3 Sep 7, 2025
1f6a43a
Merge pull request #1756 from firebase/nc/spm-1
ncooke3 Sep 7, 2025
50a0959
Auto-update dependencies.
dpebot Sep 8, 2025
0b31b4a
scheme logic
ncooke3 Sep 8, 2025
a803127
Merge pull request #1758 from firebase/nc/spm-2
ncooke3 Sep 8, 2025
7f273e3
abtesting warning fixes
ncooke3 Sep 8, 2025
7f27d68
maybe revert: source_root
ncooke3 Sep 8, 2025
f4731f4
Revert "maybe revert: source_root"
ncooke3 Sep 8, 2025
1564f34
fix storage plist location
ncooke3 Sep 8, 2025
ffbb781
Merge pull request #1757 from firebase/dpebot-repositorygardener
ncooke3 Sep 8, 2025
0da362d
Auto-update dependencies. (#1759)
dpebot Sep 11, 2025
1ba7ac4
[CI] Add support for macOS / Xcode 26 in `test.sh` (#1761)
andrewheard Sep 15, 2025
ef7c1c7
Remove Xcode 15 support from test script (#1762)
andrewheard Sep 15, 2025
ef3953d
Auto-update dependencies.
dpebot Sep 16, 2025
f2d5e43
Merge pull request #1763 from firebase/dpebot-repositorygardener
ncooke3 Sep 16, 2025
bf44964
Restore analytics.yml
ncooke3 Sep 16, 2025
4aaf45f
analytics CI improvements
ncooke3 Sep 16, 2025
daec57e
Merge remote-tracking branch 'origin/main' into mc/spm
ncooke3 Sep 16, 2025
1cbf589
add permissions
ncooke3 Sep 16, 2025
b2b0a7d
Storage path fix
ncooke3 Sep 16, 2025
acbdb2a
address nullability warnings and errors
ncooke3 Sep 16, 2025
f59dcb6
fix auth dev dir
ncooke3 Sep 16, 2025
a04f60f
showdestinations
ncooke3 Sep 16, 2025
4b1a828
list destinations
ncooke3 Sep 16, 2025
6841a36
Removed unused env var. Xcode should be set in workflow file
ncooke3 Sep 18, 2025
6a96991
Set Xcode in ga4f
ncooke3 Sep 18, 2025
164253b
remove another unused env var
ncooke3 Sep 18, 2025
7951a24
finish
ncooke3 Sep 18, 2025
ef74e21
fix ci
ncooke3 Sep 18, 2025
3352b82
fix?
ncooke3 Sep 18, 2025
a1bf982
Remove debug
ncooke3 Sep 18, 2025
e441825
reverse scheme detection ordering
ncooke3 Sep 18, 2025
e937932
script updates
ncooke3 Sep 18, 2025
e995363
Revert "script updates"
ncooke3 Sep 18, 2025
87968d1
test swift-suffixed scheme
ncooke3 Sep 19, 2025
fc8acf5
xcode
ncooke3 Sep 19, 2025
1d1b3fa
minor name fixes
ncooke3 Sep 19, 2025
0150020
workflow consolidation
ncooke3 Sep 19, 2025
e9f9d92
Revert "workflow consolidation"
ncooke3 Sep 19, 2025
5ae1f99
xcode
ncooke3 Sep 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/abtesting.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: A/B Testing

permissions:
contents: read

on:
push:
branches: [ main ]
Expand Down Expand Up @@ -40,6 +43,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@master
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
- name: Setup
run: |
cd abtesting/LegacyABTestingQuickstart
Expand Down Expand Up @@ -92,7 +97,6 @@ jobs:
OS: ${{ matrix.os }}
DEVICE: ${{ matrix.device }}
TEST: ${{ matrix.test }}
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@master
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/analytics.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Analytics

permissions:
contents: read

on:
push:
branches: [ main ]
Expand Down Expand Up @@ -27,8 +30,8 @@ env:
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}

jobs:
cocoapods:
name: cocoapods - ${{ matrix.os }}
spm:
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
runs-on: macOS-15
strategy:
matrix:
Expand All @@ -52,28 +55,27 @@ jobs:
device: localhost
scheme: AnalyticsExampleMac
test: true

env:
SPM: false
SPM: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the SPM environment variable still needed?

LEGACY: false
OS: ${{ matrix.os }}
DEVICE: ${{ matrix.device }}
SCHEME: ${{ matrix.scheme }}
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
SCHEME: ${{ matrix.scheme || 'AnalyticsExample' }}
DIR: analytics
steps:
- name: Checkout
uses: actions/checkout@master
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
- name: Setup
run: |
cd analytics
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/analytics.sh
- name: Build Swift
run: ./scripts/test.sh
env:
TEST: ${{ matrix.test }}
SWIFT_SUFFIX: ""

#TODO: Add `spm` job.
25 changes: 14 additions & 11 deletions .github/workflows/authentication.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Authentication

permissions:
contents: read

on:
push:
branches: [ main ]
Expand Down Expand Up @@ -28,26 +31,26 @@ env:

jobs:
cocoapods:
name: cocoapods
name: spm
runs-on: macOS-15
env:
SPM: false
LEGACY: false
OS: iOS
SETUP: authentication
SPM: true
LEGACY: false
DIR: authentication
DEVICE: iPhone 16
TEST: false
SCHEME: AuthenticationExample
steps:
- name: Checkout
uses: actions/checkout@master
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the xcode-select be migrated to one of the common scripts?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely. Will do in future PR.

- name: Setup
run: |
cd authentication
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/authentication.sh
- name: Build Swift
cd $SETUP
../scripts/install_prereqs/${SETUP}.sh
- name: Build and Test SwiftUI (${OS})
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""
3 changes: 3 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: check

permissions:
contents: read

on:
pull_request:
push:
Expand Down
21 changes: 10 additions & 11 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Remote Config

permissions:
contents: read

on:
push:
branches: [ main ]
Expand Down Expand Up @@ -27,28 +30,24 @@ env:
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}

jobs:
cocoapods:
name: cocoapods
spm:
name: spm
runs-on: macOS-15
env:
SPM: false
OS: iOS
DEVICE: iPhone 16
DIR: config
SPM: true
LEGACY: false
SWIFT_SUFFIX: ""
SCHEME: ConfigExample
TEST: true
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
cd config
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/config.sh
xcrun simctl boot "iPhone 16"
- name: Build Swift
run: ./scripts/test.sh
env:
OS: iOS
DEVICE: iPhone 16
4 changes: 3 additions & 1 deletion .github/workflows/crashlytics.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Crashlytics

permissions:
contents: read

on:
push:
branches: [ main ]
Expand Down Expand Up @@ -79,7 +82,6 @@ jobs:
OS: ${{ matrix.os }}
DEVICE: ${{ matrix.device }}
TEST: ${{ matrix.test }}
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@master
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Database

permissions:
contents: read

on:
push:
branches: [ main ]
Expand Down Expand Up @@ -27,30 +30,28 @@ env:
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}

jobs:
cocoapods:
name: cocoapods
spm-buildonly:
name: spm (non-SwiftUI)
runs-on: macOS-15
env:
SPM: false
LEGACY: false
OS: iOS
SPM: true
LEGACY: false
DIR: database
DEVICE: iPhone 16
TEST: false
SCHEME: DatabaseExampleSwift
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
cd database
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
cd database
../scripts/install_prereqs/database.sh
- name: Build Swift
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: Swift

spm:
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
runs-on: macOS-15
Expand All @@ -75,7 +76,6 @@ jobs:
OS: ${{ matrix.os }}
DEVICE: ${{ matrix.device }}
TEST: ${{ matrix.test }}
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@master
Expand Down
25 changes: 16 additions & 9 deletions .github/workflows/firebaseai.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: firebaseai

permissions:
contents: read

on:
pull_request:
paths:
Expand All @@ -19,31 +22,35 @@ env:

jobs:
spm:
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
runs-on: macOS-15
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.platform }})
strategy:
matrix:
xcode: ["16.4"]
os: [iOS]
include:
- os: iOS
- os: macos-15
xcode: "16.4"
platform: iOS
device: iPhone 16
- os: macos-26
xcode: "26.0"
platform: iOS
device: iPhone 16e
runs-on: ${{ matrix.os }}
env:
SETUP: firebaseai
SPM: true
DIR: firebaseai
OS: ${{ matrix.os }}
OS: ${{ matrix.platform }}
DEVICE: ${{ matrix.device }}
TEST: false
XCODE_VERSION: ${{ matrix.xcode }}
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@master
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
- name: Setup
run: |
gem install xcpretty
- name: Placeholder GoogleService-Info.plist good enough for build only testing.
run: cp ./mock-GoogleService-Info.plist ./firebaseai/GoogleService-Info.plist
- name: Build and Test SwiftUI (${{ matrix.os }})
- name: Build and Test SwiftUI (${{ matrix.platform }})
run: ./scripts/test.sh
14 changes: 7 additions & 7 deletions .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Firestore

permissions:
contents: read

on:
push:
branches: [ main ]
Expand Down Expand Up @@ -27,27 +30,24 @@ env:
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}

jobs:
cocoapods:
spm:
name: cocoapods
runs-on: macOS-15
env:
SPM: false
SPM: true
LEGACY: false
OS: iOS
DIR: firestore
DEVICE: iPhone 16
TEST: false
SCHEME: FirestoreExample
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
cd firestore
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/firestore.sh
- name: Build
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""
5 changes: 3 additions & 2 deletions .github/workflows/functions.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Functions

permissions:
contents: read

on:
push:
branches: [ main ]
Expand Down Expand Up @@ -48,8 +51,6 @@ jobs:
OS: ${{ matrix.os }}
DEVICE: ${{ matrix.device }}
TEST: false
XCODE_VERSION: ${{ matrix.xcode }}
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@master
Expand Down
Loading