-
Notifications
You must be signed in to change notification settings - Fork 1.7k
83 lines (73 loc) · 2.48 KB
/
sdk.storage.yml
File metadata and controls
83 lines (73 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: sdk.storage
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
paths:
- 'FirebaseStorage**'
- 'FirebaseAuth/Interop/*.h'
- '.github/workflows/sdk.storage.yml'
- '.github/workflows/_spm.yml'
- '.github/workflows/_cocoapods.yml'
- '.github/workflows/_catalyst.yml'
- '.github/workflows/_quickstart.yml'
- '.github/workflows/_cocoapods.cron.yml'
# Rebuild on Ruby infrastructure changes.
- 'Gemfile*'
schedule:
# Run every day at 1am (PDT) / 4am (EDT) - cron uses UTC times
- cron: '0 8 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
spm:
uses: ./.github/workflows/_spm.yml
with:
target: FirebaseStorageUnit
catalyst:
uses: ./.github/workflows/_catalyst.yml
with:
product: FirebaseStorage
target: FirebaseStorage-Unit-unit
storage-integration-tests:
strategy:
matrix:
product: [StorageSwift, StorageObjC]
uses: ./.github/workflows/_build.yml
with:
product: ${{ matrix.product }}
platform: all
method: xcodebuild
setup_command: |
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/storage-db-plist.gpg \
FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist "$plist_secret"
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Storage/Credentials.h.gpg \
FirebaseStorage/Tests/ObjCIntegration/Credentials.h "$plist_secret"
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Storage/Credentials.swift.gpg \
FirebaseStorage/Tests/Integration/Credentials.swift "$plist_secret"
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
quickstart:
uses: ./.github/workflows/_quickstart.yml
with:
product: Storage
setup_command: scripts/setup_quickstart.sh storage
plist_src_path: scripts/gha-encrypted/qs-storage.plist.gpg
plist_dst_path: quickstart-ios/storage/GoogleService-Info.plist
run_tests: false
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
pod_lib_lint:
uses: ./.github/workflows/_cocoapods.yml
with:
product: FirebaseStorage
test_specs: unit
storage-cron-only:
needs: pod_lib_lint
uses: ./.github/workflows/_cocoapods.cron.yml
with:
product: FirebaseStorage
platforms: '[ "ios", "tvos", "macos", "watchos" ]'
flags: '[ "--use-static-frameworks --skip-tests" ]'