From 8a643831726a9b862f68ddaad3f728fbf491549e Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Fri, 19 Jan 2024 17:03:06 -0500 Subject: [PATCH] Separate jobs for Auth and AppCheck --- .github/workflows/spm-visionos.yml | 31 ++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/.github/workflows/spm-visionos.yml b/.github/workflows/spm-visionos.yml index 2d3da45e9f7..af970ee5e6c 100644 --- a/.github/workflows/spm-visionos.yml +++ b/.github/workflows/spm-visionos.yml @@ -13,8 +13,37 @@ 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' @@ -22,8 +51,6 @@ jobs: strategy: matrix: scheme: [ - FirebaseAppCheck, - FirebaseAuth, FirebaseCrashlytics, FirebaseDatabase, FirebaseFunctions,