-
-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy path.goreleaser.yml
More file actions
49 lines (47 loc) · 903 Bytes
/
.goreleaser.yml
File metadata and controls
49 lines (47 loc) · 903 Bytes
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
---
version: 2
builds:
- id: build_cgo
binary: hister
env:
- CGO_ENABLED=1
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
flags:
- -tags=netgo,osusergo
ldflags:
- -s -w
ignore:
- goos: windows
goarch: arm64
overrides:
- goos: windows
goarch: amd64
env:
- CC=x86_64-w64-mingw32-gcc
- CGO_LDFLAGS=-lssp -static
- goos: linux
goarch: amd64
env:
- CC=x86_64-linux-gnu-gcc
- CGO_LDFLAGS=-static
- goos: linux
goarch: arm64
env:
- CC=aarch64-linux-gnu-gcc
- CGO_LDFLAGS=-static
- goos: darwin
goarch: amd64
env:
- CC=o64-clang
- goos: darwin
goarch: arm64
env:
- CC=oa64-clang
archives:
- formats: ['binary']