👷 取消对 mips64 的打包

This commit is contained in:
naiba 2021-04-29 00:06:33 +08:00
parent 94c4a3ef61
commit f294b655a2

View File

@ -3,8 +3,6 @@ before:
- go mod tidy -v
builds:
- id: nezha-agent
ldflags:
- -s -w
env:
- CGO_ENABLED=0
goos:
@ -17,7 +15,7 @@ builds:
- 386
- amd64
- mips
- mips64
#- mips64
gomips:
- softfloat
ignore:
@ -27,9 +25,15 @@ builds:
goarch: arm64
main: ./cmd/agent
binary: nezha-agent
# 为路由器、开发板缩小二进制体积
asmflags:
- all=-trimpath={{.Env.GOPATH}}
gcflags:
- all=-trimpath={{.Env.GOPATH}}
ldflags:
- -s -w
hooks:
post:
# 为路由器、开发板缩小二进制体积
- upx --best "{{.Path}}"
checksum:
name_template: "checksums.txt"