-
Notifications
You must be signed in to change notification settings - Fork 1.7k
65 lines (56 loc) · 1.75 KB
/
sdk.functions.yml
File metadata and controls
65 lines (56 loc) · 1.75 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
name: sdk.functions
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
paths:
- 'FirebaseFunctions**'
- 'FirebaseSharedSwift**'
- '.github/workflows/sdk.functions.yml'
- '.github/workflows/_spm.yml'
- '.github/workflows/_cocoapods.yml'
- '.github/workflows/_cocoapods.cron.yml'
- 'FirebaseAuth/Interop/*.h'
- 'FirebaseMessaging/Interop/*.h'
- 'FirebaseTestingSupport/Functions/**'
- 'FirebaseCombineSwift/Sources/Functions/**'
- 'scripts/setup_quickstart.sh'
- '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:
pod_lib_lint:
uses: ./.github/workflows/_cocoapods.yml
with:
product: FirebaseFunctions
supports_swift6: true
setup_command: FirebaseFunctions/Backend/start.sh synchronous
spm-integration:
uses: ./.github/workflows/_spm.yml
strategy:
matrix:
target: [FirebaseFunctionsIntegration, FirebaseFunctionsObjCIntegration, FunctionsCombineUnit]
with:
target: ${{ matrix.target }}
platforms: iOS
setup_command: FirebaseFunctions/Backend/start.sh synchronous
spm-unit:
uses: ./.github/workflows/_spm.yml
with:
target: FirebaseFunctionsUnit
# TODO(ncooke3): Add a Functions quickstart test.
functions-cron-only:
needs: pod_lib_lint
uses: ./.github/workflows/_cocoapods.cron.yml
with:
product: FirebaseFunctions
platforms: '[ "ios", "tvos", "macos" ]'
flags: '[ "--use-static-frameworks" ]'
setup_command: FirebaseFunctions/Backend/start.sh synchronous
runs_on: macos-14
xcode: Xcode_16.2