generated from dymensionxyz/rollapp
-
Notifications
You must be signed in to change notification settings - Fork 28
33 lines (31 loc) · 906 Bytes
/
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
name: Build Rollappd
on: ["push"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64]
targetos: [darwin, linux]
go-version: ['1.21.x', '1.22.x']
include:
- targetos: darwin
arch: arm64
name: rollapp ${{ matrix.arch }} for ${{ matrix.targetos }} with Go ${{ matrix.go-version }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}
- name: Compile rollappd
run: |
go mod download
cd cmd/rollappd
go build .
- uses: actions/upload-artifact@v3
with:
name: rollappd ${{ matrix.targetos }} ${{ matrix.arch }} Go ${{ matrix.go-version }}
path: cmd/rollappd/rollappd