-
Notifications
You must be signed in to change notification settings - Fork 15
64 lines (63 loc) · 1.65 KB
/
ci-main.yml
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
# This CI runs a lot of the jobs in parallel to speed up development time. We also run a simpler suite of bouncer tests.
name: Release Chainflip Development on main
on:
push:
branches:
- main
jobs:
pre-check:
uses: ./.github/workflows/_01_pre_check.yml
secrets: inherit
test:
needs: [pre-check]
uses: ./.github/workflows/_10_test.yml
secrets: inherit
coverage:
uses: ./.github/workflows/_11_coverage.yml
with:
test_features: runtime-benchmarks,slow-tests
secrets: inherit
build:
uses: ./.github/workflows/_20_build.yml
secrets: inherit
with:
profile: "release"
build-m2:
uses: ./.github/workflows/_21_build_m2.yml
secrets: inherit
with:
profile: "release"
# Used to test upgrades to this version from the latest release
build-try-runtime:
uses: ./.github/workflows/_20_build.yml
secrets: inherit
with:
profile: "try-runtime"
upload-name: "chainflip-backend-bin-try-runtime"
binary-subdir: release
docker:
needs: [build]
uses: ./.github/workflows/_24_docker.yml
secrets: inherit
with:
network: "test"
environment: "development"
package:
needs: [build]
uses: ./.github/workflows/_25_package.yml
with:
network: "test"
secrets: inherit
publish:
needs: [package]
uses: ./.github/workflows/_30_publish.yml
with:
version: ci/${{ github.sha }}/
environment: "development"
secrets: inherit
upload-versioned-build-artifacts:
needs: [build, build-m2]
uses: ./.github/workflows/_61_upload_versioned_build_artifacts.yml
secrets: inherit
with:
is_release: false