Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 3 additions & 26 deletions .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 @@ -31,31 +34,6 @@ env:
SAMPLE: ABTesting

jobs:
cocoapods:
name: cocoapods
runs-on: macOS-15
env:
SPM: false
TEST: true
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
cd abtesting/LegacyABTestingQuickstart
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
cd ..
../scripts/install_prereqs/abtesting.sh
- name: Build Swift
run: ./scripts/test.sh
env:
LEGACY: true
SWIFT_SUFFIX: ""
OS: iOS
DEVICE: iPhone 16
spm:
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
runs-on: macOS-15
Expand Down Expand Up @@ -92,7 +70,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
23 changes: 11 additions & 12 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,24 @@ jobs:
device: localhost
scheme: AnalyticsExampleMac
test: true

env:
SPM: false
LEGACY: false
SPM: true
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: 13 additions & 12 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 @@ -27,27 +30,25 @@ env:
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}

jobs:
cocoapods:
name: cocoapods
spm:
runs-on: macOS-15
env:
SPM: false
LEGACY: false
OS: iOS
SETUP: authentication
SPM: true
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
- 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: 9 additions & 12 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,22 @@ env:
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}

jobs:
cocoapods:
name: cocoapods
spm:
runs-on: macOS-15
env:
SPM: false
LEGACY: false
SWIFT_SUFFIX: ""
OS: iOS
DEVICE: iPhone 16
DIR: config
SPM: true
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
29 changes: 3 additions & 26 deletions .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 @@ -27,31 +30,6 @@ env:
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}

jobs:
cocoapods:
name: cocoapods
runs-on: macOS-15
env:
SPM: false
LEGACY: true
OS: iOS
DEVICE: iPhone 16
TEST: true
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
cd crashlytics/LegacyCrashlyticsQuickstart
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
cd ..
../scripts/install_prereqs/crashlytics.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 Down Expand Up @@ -79,7 +57,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
21 changes: 10 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,27 @@ 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
DIR: database
DEVICE: iPhone 16
TEST: false
SCHEME: DatabaseExample
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 +75,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
4 changes: 2 additions & 2 deletions .github/workflows/firebaseai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
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
Expand Down
16 changes: 7 additions & 9 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,22 @@ env:
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}

jobs:
cocoapods:
name: cocoapods
spm:
runs-on: macOS-15
env:
SPM: false
LEGACY: false
SPM: true
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
Loading