-
Notifications
You must be signed in to change notification settings - Fork 1.7k
64 lines (55 loc) · 1.76 KB
/
sdk.abtesting.yml
File metadata and controls
64 lines (55 loc) · 1.76 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
name: sdk.abtesting
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
paths:
- 'FirebaseABTesting**'
- 'Interop/Analytics/Public/*.h'
- '.github/workflows/sdk.abtesting.yml'
- '.github/workflows/_spm.yml'
- '.github/workflows/_cocoapods.yml'
- '.github/workflows/_catalyst.yml'
- '.github/workflows/_quickstart.yml'
- '.github/workflows/_cocoapods.cron.yml'
- 'Gemfile*'
schedule:
# Run every day at 2am (PDT) / 5am (EDT) - cron uses UTC times
- cron: '0 9 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
spm:
uses: ./.github/workflows/_spm.yml
with:
target: ABTestingUnit
catalyst:
uses: ./.github/workflows/_catalyst.yml
with:
product: FirebaseABTesting
target: FirebaseABTesting-Unit-unit
pod_lib_lint:
uses: ./.github/workflows/_cocoapods.yml
with:
product: FirebaseABTesting
quickstart:
uses: ./.github/workflows/_quickstart.yml
with:
product: ABTesting
setup_command: scripts/setup_quickstart.sh abtesting
plist_src_path: scripts/gha-encrypted/qs-abtesting.plist.gpg
plist_dst_path: quickstart-ios/abtesting/GoogleService-Info.plist
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
abtesting-cron-only:
needs: pod_lib_lint
uses: ./.github/workflows/_cocoapods.cron.yml
with:
product: FirebaseABTesting
platforms: '[ "ios", "tvos", "macos" ]'
flags: '[ "--use-static-frameworks" ]'
# For toolchains var, see https://github.com/actions/runner-images/issues/13135#issuecomment-3397914993
setup_command: |
echo "TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault" >> $GITHUB_ENV