|
14 | 14 |
|
15 | 15 | name: combine
|
16 | 16 |
|
| 17 | +permissions: |
| 18 | + contents: read |
| 19 | + |
17 | 20 | on:
|
18 | 21 | workflow_dispatch:
|
19 | 22 | pull_request:
|
@@ -72,31 +75,34 @@ jobs:
|
72 | 75 | - name: Build and test
|
73 | 76 | run: scripts/third_party/travis/retry.sh scripts/build.sh CombineSwift ${{ matrix.target }} xcodebuild
|
74 | 77 |
|
75 |
| - storage-combine-integration: |
76 |
| - # Don't run on private repo unless it is a PR. |
77 |
| - if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('["pull_request", "workflow_dispatch"]'), github.event_name) |
78 |
| - env: |
79 |
| - plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }} |
80 |
| - runs-on: macos-15 |
81 |
| - steps: |
82 |
| - - uses: actions/checkout@v4 |
83 |
| - - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 |
84 |
| - with: |
85 |
| - cache_key: ${{ matrix.os }} |
86 |
| - - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1 |
87 |
| - - name: Setup Bundler |
88 |
| - run: scripts/setup_bundler.sh |
89 |
| - - name: Install xcpretty |
90 |
| - run: gem install xcpretty |
91 |
| - - name: Install Secret GoogleService-Info.plist |
92 |
| - run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/storage-db-plist.gpg \ |
93 |
| - FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist "$plist_secret" |
94 |
| - - name: Install Credentials.h |
95 |
| - run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Storage/Credentials.h.gpg \ |
96 |
| - FirebaseStorage/Tests/ObjCIntegration/Credentials.h "$plist_secret" |
97 |
| - - name: Install Credentials.swift |
98 |
| - run: | |
99 |
| - scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Storage/Credentials.swift.gpg \ |
100 |
| - FirebaseStorage/Tests/Integration/Credentials.swift "$plist_secret" |
101 |
| - - name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10 |
102 |
| - run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh StorageCombine all) |
| 78 | +# TODO: These tests started failing in Xcode 16. Using the iOS 18.4 simulator |
| 79 | +# crashes locally due to its networking issues. Using the iOS 18.3.1 simulator |
| 80 | +# works locally, but crashes on CI. |
| 81 | +# storage-combine-integration: |
| 82 | +# # Don't run on private repo unless it is a PR. |
| 83 | +# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('["pull_request", "workflow_dispatch"]'), github.event_name) |
| 84 | +# env: |
| 85 | +# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }} |
| 86 | +# runs-on: macos-15 |
| 87 | +# steps: |
| 88 | +# - uses: actions/checkout@v4 |
| 89 | +# - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 |
| 90 | +# with: |
| 91 | +# cache_key: ${{ matrix.os }} |
| 92 | +# - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1 |
| 93 | +# - name: Setup Bundler |
| 94 | +# run: scripts/setup_bundler.sh |
| 95 | +# - name: Install xcpretty |
| 96 | +# run: gem install xcpretty |
| 97 | +# - name: Install Secret GoogleService-Info.plist |
| 98 | +# run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/storage-db-plist.gpg \ |
| 99 | +# FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist "$plist_secret" |
| 100 | +# - name: Install Credentials.h |
| 101 | +# run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Storage/Credentials.h.gpg \ |
| 102 | +# FirebaseStorage/Tests/ObjCIntegration/Credentials.h "$plist_secret" |
| 103 | +# - name: Install Credentials.swift |
| 104 | +# run: | |
| 105 | +# scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Storage/Credentials.swift.gpg \ |
| 106 | +# FirebaseStorage/Tests/Integration/Credentials.swift "$plist_secret" |
| 107 | +# - name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10 |
| 108 | +# run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh StorageCombine all) |
0 commit comments