forked from flashbots/mev-boost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser-linux_windows.yaml
41 lines (39 loc) · 1.1 KB
/
.goreleaser-linux_windows.yaml
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
project_name: mev-boost
builds:
- id: mev-boost-portable
ldflags:
- -X github.com/flashbots/mev-boost/config.Version={{.Version}}
env:
- CGO_ENABLED=1
- CGO_CFLAGS_ALLOW="-D__BLST_PORTABLE__"
- CGO_CFLAGS="-D__BLST_PORTABLE__"
goos:
- linux
- windows
goarch:
- amd64
- arm64
# List of combinations of GOOS + GOARCH + GOARM to ignore.
# Default is empty.
ignore:
- goos: windows
goarch: arm64
# Overrides allows to override some fields for specific targets.
# This can be specially useful when using CGO.
# Note: it'll only match if the full target matches.
overrides:
- goos: linux
goarch: arm64
env:
- CGO_ENABLED=1
- CGO_CFLAGS_ALLOW="-D__BLST_PORTABLE__"
- CGO_CFLAGS="-D__BLST_PORTABLE__"
- CC=aarch64-linux-gnu-gcc
- goos: windows
goarch: amd64
goamd64: v1
env:
- CGO_ENABLED=1
- CGO_CFLAGS_ALLOW="-D__BLST_PORTABLE__"
- CGO_CFLAGS="-D__BLST_PORTABLE__"
- CC=x86_64-w64-mingw32-gcc