Skip to content

Migrate off CocoaPods #403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jan 7, 2025
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/appcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
pull_request:
paths:
- 'appcheck/**'
- '.github/workflows/appcheck.yml'
name: App Check
jobs:
swift-build:
name: Swift build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build Swift snippets
run: |
cd appcheck
xcodebuild -project AppCheckSnippets.xcodeproj clean build -scheme AppCheckSnippetsSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
objc-build:
name: ObjC build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build ObjC snippets
run: |
cd appcheck
xcodebuild -project AppCheckSnippets.xcodeproj clean build -scheme AppCheckSnippetsObjC -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
5 changes: 2 additions & 3 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ jobs:
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 11']
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build Swift snippets
run: |
cp .github/GoogleService-Info-CI.plist firoptions/FiroptionConfiguration/GoogleService-Info.plist
cd firoptions
pod install --repo-update
xcodebuild -workspace FiroptionConfiguration.xcworkspace clean build -scheme FiroptionConfiguration -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
xcodebuild -project FiroptionConfiguration.xcodeproj clean build -scheme FiroptionConfiguration -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
37 changes: 37 additions & 0 deletions .github/workflows/crashlytics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
pull_request:
paths:
- 'crashlytics/**'
- '.github/workflows/crashlytics.yml'
name: Crashlytics
jobs:
swift-build:
name: Swift build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build Swift snippets
run: |
cd crashlytics
xcodebuild -project CrashlyticsExample.xcodeproj clean build -scheme CrashlyticsExampleSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
objc-build:
name: ObjC build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build ObjC snippets
run: |
cd crashlytics
xcodebuild -project CrashlyticsExample.xcodeproj clean build -scheme CrashlyticsExample -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
22 changes: 22 additions & 0 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
pull_request:
paths:
- 'database/**'
- '.github/workflows/database.yml'
name: Database
jobs:
swift-build:
name: Build combined snippets
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build snippets
run: |
cd database
xcodebuild -project DatabaseReference.xcodeproj clean build -scheme DatabaseReference -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
10 changes: 4 additions & 6 deletions .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,30 @@ jobs:
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 11']
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build Swift snippets
run: |
cp .github/GoogleService-Info-CI.plist firestore/swift/firestore-smoketest/GoogleService-Info.plist
cd firestore/swift
pod install --repo-update
xcodebuild -workspace firestore-smoketest.xcworkspace clean build -scheme firestore-smoketest -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
xcodebuild -project firestore-smoketest.xcodeproj clean build -scheme firestore-smoketest -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
objc-build:
name: ObjC build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 11']
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build ObjC snippets
run: |
cp .github/GoogleService-Info-CI.plist firestore/objc/GoogleService-Info.plist
cd firestore/objc
pod install --repo-update
xcodebuild -workspace firestore-smoketest-objc.xcworkspace clean build -scheme firestore-smoketest-objc -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
xcodebuild -project firestore-smoketest-objc.xcodeproj clean build -scheme firestore-smoketest-objc -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
37 changes: 37 additions & 0 deletions .github/workflows/functions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
pull_request:
paths:
- 'functions/**'
- '.github/workflows/functions.yml'
name: Functions
jobs:
swift-build:
name: Swift build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build Swift snippets
run: |
cd functions
xcodebuild -project FunctionsExample.xcodeproj clean build -scheme FunctionsExampleSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
objc-build:
name: ObjC build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build ObjC snippets
run: |
cd functions
xcodebuild -project FunctionsExample.xcodeproj clean build -scheme FunctionsExample -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
5 changes: 2 additions & 3 deletions .github/workflows/installations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ jobs:
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 11']
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build Swift snippets
run: |
cd installations/
pod install --repo-update
xcodebuild -workspace InstallationsSnippets.xcworkspace clean build -scheme InstallationsSnippets -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
xcodebuild -project InstallationsSnippets.xcodeproj clean build -scheme InstallationsSnippets -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
37 changes: 37 additions & 0 deletions .github/workflows/ml-functions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
pull_request:
paths:
- 'ml-functions/**'
- '.github/workflows/ml-functions.yml'
name: Functions (ML)
jobs:
swift-build:
name: Swift build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build Swift snippets
run: |
cd ml-functions
xcodebuild -project MLFunctionsExample.xcodeproj clean build -scheme MLFunctionsExampleSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
objc-build:
name: ObjC build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build ObjC snippets
run: |
cd ml-functions
xcodebuild -project MLFunctionsExample.xcodeproj clean build -scheme MLFunctionsExample -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
39 changes: 39 additions & 0 deletions .github/workflows/storage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
on:
pull_request:
paths:
- 'storage/**'
- '.github/workflows/storage.yml'
name: Storage
jobs:
swift-build:
name: Swift build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build Swift snippets
run: |
sudo xcode-select -switch /Applications/Xcode_16.1.app/Contents/Developer
cd storage
xcodebuild -project StorageReference.xcodeproj clean build -scheme StorageReferenceSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
objc-build:
name: ObjC build
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16']
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build ObjC snippets
run: |
sudo xcode-select -switch /Applications/Xcode_16.1.app/Contents/Developer
cd storage
xcodebuild -project StorageReference.xcodeproj clean build -scheme StorageReference -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
env:
destination: ${{ matrix.destination }}
Loading