Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into auth-swift
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Nov 22, 2023
2 parents 1ff0d5f + e193ee7 commit bcac846
Show file tree
Hide file tree
Showing 358 changed files with 1,978 additions and 10,881 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/abtesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Setup quickstart
env:
LEGACY: true
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ jobs:
include:
- os: macos-12
xcode: Xcode_14.2
tests:
# Flaky tests on CI
- os: macos-13
xcode: Xcode_15.0.1
tests: --skip-tests
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -45,9 +48,10 @@ jobs:
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- name: Build and test
# TODO: Restore warnings check after resolution of #11693
# run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }}
# run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} --allow-warnings
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} \
${{ matrix.tests }} --allow-warnings
integration-tests:
# Don't run on private repo unless it is a PR.
Expand Down Expand Up @@ -96,8 +100,10 @@ jobs:
include:
- os: macos-12
xcode: Xcode_14.2
test: spm
- os: macos-13
xcode: Xcode_15.0.1
test: spmbuildonly
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -109,7 +115,7 @@ jobs:
- name: Initialize xcodebuild
run: scripts/setup_spm_tests.sh
- name: Unit Tests
run: scripts/third_party/travis/retry.sh ./scripts/build.sh AuthUnit ${{ matrix.target }} spm
run: scripts/third_party/travis/retry.sh ./scripts/build.sh AuthUnit ${{ matrix.target }} ${{ matrix.test }}

catalyst:
# Don't run on private repo unless it is a PR.
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/crashlytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ jobs:
include:
- os: macos-12
xcode: Xcode_14.2
tests:
# Flaky tests on CI
- os: macos-13
xcode: Xcode_15.0.1
tests: --skip-tests
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -41,7 +44,8 @@ jobs:
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- name: Build and test
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseCrashlytics.podspec --platforms=${{ matrix.target }}
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseCrashlytics.podspec --platforms=${{ matrix.target }} \
${{ matrix.tests }}
spm:
# Don't run on private repo unless it is a PR.
Expand Down Expand Up @@ -128,6 +132,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Setup quickstart
run: scripts/setup_quickstart.sh crashlytics
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ jobs:
include:
- os: macos-12
xcode: Xcode_14.2
tests: --test-specs=unit
- os: macos-13
xcode: Xcode_15.0.1
tests: --skip-tests
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -42,7 +44,7 @@ jobs:
- name: Xcode
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- name: Build and test
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseDatabase.podspec --test-specs=unit --platforms=${{ matrix.target }}
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseDatabase.podspec ${{ matrix.tests }} --platforms=${{ matrix.target }}

integration:
# Don't run on private repo unless it is a PR.
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dynamiclinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Setup quickstart
run: scripts/setup_quickstart.sh DynamicLinks
- name: Install Secret GoogleService-Info.plist
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ jobs:
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }}
restore-keys: ${{ runner.os }}-mint-

- uses: actions/setup-python@v4
with:
python-version: '3.7'

- name: Setup build
run: scripts/install_prereqs.sh Firestore ${{ runner.os }} cmake

Expand Down Expand Up @@ -176,6 +180,10 @@ jobs:
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }}
restore-keys: ${{ runner.os }}-mint-

- uses: actions/setup-python@v4
with:
python-version: '3.7'

- name: Install Secret GoogleService-Info.plist
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/firestore.plist.gpg \
Firestore/Example/App/GoogleService-Info.plist "$plist_secret"
Expand Down Expand Up @@ -252,6 +260,10 @@ jobs:
restore-keys: |
${{ matrix.sanitizer }}-firestore-ccache-${{ runner.os }}-
- uses: actions/setup-python@v4
with:
python-version: '3.7'

- name: Setup build
run: scripts/install_prereqs.sh Firestore ${{ runner.os }} cmake

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Setup quickstart
run: scripts/setup_quickstart.sh functions
- name: install secret googleservice-info.plist
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/installations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Setup quickstart
run: scripts/setup_quickstart.sh installations
- name: Copy mock plist
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/messaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Setup quickstart
run: scripts/setup_quickstart.sh messaging
- name: Install Secret GoogleService-Info.plist
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Setup quickstart
run: scripts/setup_quickstart.sh performance
- name: Install Secret GoogleService-Info.plist
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/shared-swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- 'FirebaseSharedSwift**'
- '.github/workflows/shared-swift.yml'
- 'Gemfile*'

schedule:
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-12, macos-13]
include:
- os: macos-12
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Setup quickstart
run: scripts/setup_quickstart.sh storage
- name: Install Secret GoogleService-Info.plist
Expand All @@ -173,8 +176,10 @@ jobs:
include:
- os: macos-12
xcode: Xcode_14.2
tests: --test-specs=unit
- os: macos-13
xcode: Xcode_15.0.1
tests: --skip-tests
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -187,7 +192,8 @@ jobs:
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- name: Build and test
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --test-specs=unit --platforms=${{ matrix.target }}
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec ${{ matrix.tests }} \
--platforms=${{ matrix.target }}
storage-cron-only:
# Don't run on private repo.
Expand Down
Loading

0 comments on commit bcac846

Please sign in to comment.