forked from zingolabs/zingo-mobile
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (29 loc) · 861 Bytes
/
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
name: CI
on:
pull_request:
push:
branches: [main, dev]
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
build:
strategy:
matrix:
arch: [ x86_64, armeabi-v7a ]
uses: ./.github/workflows/build.yaml
needs: create-cache-key
with:
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
arch: ${{ matrix.arch }}
integration-test:
uses: ./.github/workflows/integration-test.yaml
needs: [ create-timestamp, create-cache-key, build ]
with:
timestamp: ${{ needs.create-timestamp.outputs.timestamp }}
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
abi: armeabi-v7a