Skip to content

Commit

Permalink
Disable test
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Apr 17, 2024
1 parent ab8eb0a commit 5ec4318
Showing 1 changed file with 49 additions and 51 deletions.
100 changes: 49 additions & 51 deletions .github/workflows/zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -444,57 +444,55 @@ jobs:
name: quickstart_artifacts_dynamiclinks
path: quickstart-ios/

quickstart_framework_firestore:
# Don't run on private repo.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
needs: package-head
env:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
SDK: "Firestore"
strategy:
matrix:
os: [macos-13]
xcode: [Xcode_15.2]
# TODO: Building FirebaseUI fails on Xcode 15 because it needs to sign the resources.
# - os: macos-13
# xcode: Xcode_15.2
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Get framework dir
uses: actions/download-artifact@v4
with:
name: Firebase-actions-dir
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: ./scripts/setup_bundler.sh
- name: Move frameworks
run: |
mkdir -p "${HOME}"/ios_frameworks/
find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
- uses: actions/checkout@v4
- name: Setup quickstart
run: SAMPLE="$SDK" TARGET="${SDK}Example" NON_FIREBASE_SDKS="SDWebImage FirebaseAuthUI FirebaseEmailAuthUI" scripts/setup_quickstart_framework.sh \
"${HOME}"/ios_frameworks/Firebase/NonFirebaseSDKs/* \
"${HOME}"/ios_frameworks/Firebase/FirebaseFirestore/* \
"${HOME}"/ios_frameworks/Firebase/FirebaseAuth/* \
"${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/*
- name: Xcode
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- name: Install Secret GoogleService-Info.plist
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-firestore.plist.gpg \
quickstart-ios/firestore/GoogleService-Info.plist "$plist_secret"
- name: Test Quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
- name: Remove data before upload
if: ${{ failure() }}
run: scripts/remove_data.sh firestore
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: quickstart_artifacts_firestore
path: quickstart-ios/
# quickstart_framework_firestore:
# # Don't run on private repo.
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
# needs: package-head
# env:
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
# signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
# SDK: "Firestore"
# strategy:
# matrix:
# # TODO: Building FirebaseUI fails on Xcode 15 because it needs to sign the resources.
# os: [macos-13]
# xcode: [Xcode_15.2]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v4
# - name: Get framework dir
# uses: actions/download-artifact@v4
# with:
# name: Firebase-actions-dir
# - uses: ruby/setup-ruby@v1
# - name: Setup Bundler
# run: ./scripts/setup_bundler.sh
# - name: Move frameworks
# run: |
# mkdir -p "${HOME}"/ios_frameworks/
# find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
# - uses: actions/checkout@v4
# - name: Setup quickstart
# run: SAMPLE="$SDK" TARGET="${SDK}Example" NON_FIREBASE_SDKS="SDWebImage FirebaseAuthUI FirebaseEmailAuthUI" scripts/setup_quickstart_framework.sh \
# "${HOME}"/ios_frameworks/Firebase/NonFirebaseSDKs/* \
# "${HOME}"/ios_frameworks/Firebase/FirebaseFirestore/* \
# "${HOME}"/ios_frameworks/Firebase/FirebaseAuth/* \
# "${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/*
# - name: Xcode
# run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
# - name: Install Secret GoogleService-Info.plist
# run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-firestore.plist.gpg \
# quickstart-ios/firestore/GoogleService-Info.plist "$plist_secret"
# - name: Test Quickstart
# run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
# - name: Remove data before upload
# if: ${{ failure() }}
# run: scripts/remove_data.sh firestore
# - uses: actions/upload-artifact@v4
# if: ${{ failure() }}
# with:
# name: quickstart_artifacts_firestore
# path: quickstart-ios/

check_framework_firestore_symbols:
# Don't run on private repo.
Expand Down

0 comments on commit 5ec4318

Please sign in to comment.