diff --git a/.github/workflows/firestore.yml b/.github/workflows/firestore.yml index 78951c1ed9c..a1b38e51a42 100644 --- a/.github/workflows/firestore.yml +++ b/.github/workflows/firestore.yml @@ -356,13 +356,16 @@ jobs: - name: Swift Build run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestoreSwift iOS spmbuildonly - # spm-cron: + # TODO: Re-enable either in or after #11706. + # spm-source-cron: # # Don't run on private repo. # if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk' # runs-on: macos-12 # strategy: # matrix: # target: [tvOS, macOS, catalyst] + # env: + # FIREBASE_SOURCE_FIRESTORE: 1 # steps: # - uses: actions/checkout@v3 # - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 @@ -372,14 +375,28 @@ jobs: # run: scripts/setup_spm_tests.sh # - name: Build Test - Binary # run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestore ${{ matrix.target }} spmbuildonly - # # TODO: Re-enable either in or after #11706. - # # - name: Build Test – Source - # # run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestore ${{ matrix.target }} spmbuildonly - # # env: - # # FIREBASE_SOURCE_FIRESTORE: 1 # - name: Swift Build # run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestoreSwift ${{ matrix.target }} spmbuildonly +spm-binary-cron: + # Don't run on private repo. + if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk' + runs-on: macos-12 + strategy: + matrix: + target: [tvOS, macOS, catalyst] + steps: + - uses: actions/checkout@v3 + - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 + with: + cache_key: ${{ matrix.os }} + - name: Initialize xcodebuild + run: scripts/setup_spm_tests.sh + - name: Build Test - Binary + run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestore ${{ matrix.target }} spmbuildonly + - name: Swift Build + run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestoreSwift ${{ matrix.target }} spmbuildonly + # # A job that fails if any required job in the test matrix fails, # # to be used as a required check for merging. # check-required-tests: