-
Notifications
You must be signed in to change notification settings - Fork 2
59 lines (54 loc) · 1.49 KB
/
mars-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
name: mars-build
on:
pull_request:
branches:
- main
paths:
- 'bin/builder'
- 'arch.Dockerfile'
- 'alpine.Dockerfile'
- '.github/workflows/docker-build.yml'
- '.github/workflows/mars-build.yml'
push:
branches:
- main
paths:
- 'bin/builder'
- 'arch.Dockerfile'
- 'alpine.Dockerfile'
- '.github/workflows/docker-build.yml'
- '.github/workflows/mars-build.yml'
jobs:
mars-build:
uses: ./.github/workflows/docker-build.yml
secrets: inherit
strategy:
fail-fast: false
matrix:
#platform: ["linux/amd64", "linux/arm64"] # need arm runners
platform: ["linux/amd64"]
distro: ["alpine"]
version:
- "1.0.2"
include:
# Include Defaults (keep at top)
- name: "mars"
binary: "marsd"
build_command: "make install"
chain_registry_name: "mars"
go_version: "1.20.10"
repo: "mars-protocol/hub"
os: "linux"
arch: "amd64"
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: ${{ matrix.version }}