Skip to content

Commit

Permalink
Separate jobs for Auth and AppCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Jan 19, 2024
1 parent aaa12b2 commit 8a64383
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/spm-visionos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,44 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
visionOS-FirebaseAppCheck-build:
# Don't run on private repo unless it is a PR.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'

runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
- name: Initialize xcodebuild
run: scripts/setup_spm_tests.sh
- name: Build
run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseAppCheck visionOS spmbuildonly

visionOS-FirebaseAuth-build:
# Don't run on private repo unless it is a PR.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'

runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
- name: Initialize xcodebuild
run: scripts/setup_spm_tests.sh
- name: Build
run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseAuth visionOS spmbuildonly

visionOS-SPM-build:
# Don't run on private repo unless it is a PR.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'

strategy:
matrix:
scheme: [
FirebaseAppCheck,
FirebaseAuth,
FirebaseCrashlytics,
FirebaseDatabase,
FirebaseFunctions,
Expand Down

0 comments on commit 8a64383

Please sign in to comment.