forked from zingolabs/zingolib
-
Notifications
You must be signed in to change notification settings - Fork 0
80 lines (68 loc) · 2.44 KB
/
ci-nightly.yaml
File metadata and controls
80 lines (68 loc) · 2.44 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
name: CI (Nightly)
on:
schedule:
- cron: '30 3 * * *'
workflow_dispatch:
jobs:
cargo-checkmate:
uses: ./.github/workflows/cargo-checkmate.yaml
reject-trailing-whitespace:
name: Reject trailing whitespace
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Reject trailing whitespace
run: ./utils/trailing-whitespace.sh reject
cargo-hack-build:
uses: ./.github/workflows/cargo-hack.yaml
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
# with: # (optional) override defaults
# hack-flags: "--workspace --all-features --all-targets --target-dir target/hack"
# rustflags: "-D warnings"
# toolchain: "stable"
test:
uses: ./.github/workflows/test.yaml
create-timestamp:
uses: zingolabs/zingo-mobile/.github/workflows/create-timestamp.yaml@dev
create-cache-key:
uses: zingolabs/zingo-mobile/.github/workflows/create-cache-key.yaml@dev
android-build:
strategy:
matrix:
arch: [ x86_64, x86, arm64-v8a, armeabi-v7a ]
fail-fast: false
uses: zingolabs/zingo-mobile/.github/workflows/android-build.yaml@dev
needs: create-cache-key
with:
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
arch: ${{ matrix.arch }}
android-ubuntu-integration-test-ci:
strategy:
matrix:
config:
- { abi: x86_64, api-level: 34, target: default }
- { abi: x86, api-level: 29, target: default }
fail-fast: false
uses: zingolabs/zingo-mobile/.github/workflows/android-ubuntu-integration-test-ci.yaml@dev
needs: [create-timestamp, create-cache-key, android-build]
with:
timestamp: ${{ needs.create-timestamp.outputs.timestamp }}
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
abi: ${{ matrix.config.abi }}
api-level: ${{ matrix.config['api-level'] }}
target: ${{ matrix.config.target }}
ios-build:
strategy:
fail-fast: false
uses: zingolabs/zingo-mobile/.github/workflows/ios-build.yaml@dev
needs: create-cache-key
with:
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}
ios-integration-test:
strategy:
fail-fast: false
uses: zingolabs/zingo-mobile/.github/workflows/ios-integration-test.yaml@dev
needs: [ create-cache-key, ios-build ]
with:
cache-key: ${{ needs.create-cache-key.outputs.cache-key }}