-
Notifications
You must be signed in to change notification settings - Fork 2
137 lines (116 loc) · 3.56 KB
/
kava-build.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
name: kava-build
on:
pull_request:
branches:
- main
paths:
- 'bin/builder'
- 'arch.Dockerfile'
- 'alpine.Dockerfile'
- '.github/workflows/docker-build.yml'
- '.github/workflows/kava-build.yml'
push:
branches:
- main
paths:
- 'bin/builder'
- 'arch.Dockerfile'
- 'alpine.Dockerfile'
- '.github/workflows/docker-build.yml'
- '.github/workflows/kava-build.yml'
jobs:
kava-build:
uses: ./.github/workflows/docker-build.yml
secrets: inherit
strategy:
fail-fast: false
matrix:
version_suffix: ["", "-rdb"]
#platform: ["linux/amd64", "linux/arm64"] # need arm runners
platform: ["linux/amd64"]
distro: ["alpine"]
version:
- "0.15.0"
- "0.17.1"
- "0.17.7"
- "0.18.2"
- "0.19.0"
- "0.19.2"
- "0.21.0"
- "0.21.1"
- "0.23.0"
- "0.23.3"
- "0.24.0"
- "0.24.1"
- "0.25.0"
include:
# Include Defaults (keep at top)
- name: "kava"
binary: "kava"
build_command: "make install"
chain_registry_name: "kava"
repo: "Kava-Labs/kava"
go_version: "1.19"
os: "linux"
arch: "amd64"
rocksdb_version: ""
cosmos_build_options: ""
- version_suffix: "-rdb"
rocksdb_version: "v8.1.1"
cosmos_build_options: "nostrip rocksdb"
- version_suffix: "-rdb"
rocksdb_version: "v7.10.2"
version: "0.15.0"
go_version: "1.13"
cosmos_build_options: "nostrip rocksdb"
build_command: "make install && mv /go/bin/kvd /go/bin/kava"
- version_suffix: "-rdb"
rocksdb_version: "v7.10.2"
version: "0.17.1"
go_version: "1.17"
cosmos_build_options: "nostrip rocksdb"
- version_suffix: "-rdb"
rocksdb_version: "v7.10.2"
version: "0.17.7"
go_version: "1.17"
cosmos_build_options: "nostrip rocksdb"
- version: "0.15.0"
go_version: "1.13"
build_command: "make install && mv /go/bin/kvd /go/bin/kava"
- version: "0.17.1"
go_version: "1.17"
- version: "0.17.7"
go_version: "1.17"
- version: "0.18.2"
go_version: "1.18"
- version: "0.19.0"
go_version: "1.18"
- version: "0.19.2"
go_version: "1.18"
- version: "0.21.0"
go_version: "1.18"
- version: "0.21.1"
go_version: "1.18"
- version: "0.23.3"
go_version: "1.20"
- version: "0.24.0"
go_version: "1.20"
- version: "0.24.1"
go_version: "1.20"
- version: "0.25.0"
go_version: "1.20"
with:
binary: ${{ matrix.binary }}
build_command: ${{ matrix.build_command }}
chain_registry_name: ${{ matrix.chain_registry_name }}
go_version: ${{ matrix.go_version }}
name: ${{ matrix.name }}
os: ${{ matrix.os }}
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
platform: ${{ matrix.platform }}
repo: ${{ matrix.repo }}
version: ${{ format('{0}{1}', matrix.version, matrix.version_suffix) }}
repo_tag: ${{ format('v{0}', matrix.version) }}
rocksdb_version: ${{ matrix.rocksdb_version }}
cosmos_build_options: ${{ matrix.cosmos_build_options }}