forked from zingolabs/zingo-mobile
-
Notifications
You must be signed in to change notification settings - Fork 1
76 lines (65 loc) · 2.22 KB
/
ci.yaml
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
name: CI
on:
pull_request:
push:
branches: [main, dev, stable]
workflow_dispatch:
jobs:
jest-test:
uses: ./.github/workflows/jest-test.yaml
create-timestamp:
uses: ./.github/workflows/create-timestamp.yaml
create-cache-key:
uses: ./.github/workflows/create-cache-key.yaml
android-build:
strategy:
matrix:
arch: [x86_64, x86]
uses: ./.github/workflows/android-build.yaml
needs: create-cache-key
with:
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
arch: ${{ matrix.arch }}
android-test:
uses: ./.github/workflows/android-test.yaml
needs: [create-timestamp, android-build]
with:
timestamp: ${{ needs.create-timestamp.outputs.timestamp }}
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
#android-e2e-test-script:
# strategy:
# matrix:
# abi: [ x86_64, x86 ]
# uses: ./.github/workflows/android-e2e-test-script.yaml
# needs: [ create-timestamp, create-cache-key, android-test ]
# with:
# timestamp: ${{ needs.create-timestamp.outputs.timestamp }}
# cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
# abi: ${{ matrix.abi }}
#android-e2e-test-actions:
# uses: ./.github/workflows/android-e2e-test-actions.yaml
# needs: [ create-timestamp, create-cache-key, android-test ]
# with:
# timestamp: ${{ needs.create-timestamp.outputs.timestamp }}
# cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
android-macos-integration-test:
strategy:
matrix:
abi: [x86_64, x86]
uses: ./.github/workflows/android-macos-integration-test.yaml
needs: [android-test]
with:
timestamp: ${{ needs.create-timestamp.outputs.timestamp }}
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
abi: ${{ matrix.abi }}
ios-build:
uses: ./.github/workflows/ios-build.yaml
needs: create-cache-key
with:
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
ios-integration-test:
uses: ./.github/workflows/ios-integration-test.yaml
needs: [create-timestamp, ios-build]
with:
timestamp: ${{ needs.create-timestamp.outputs.timestamp }}
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}