mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
👷 取消对 mips64 的打包
This commit is contained in:
parent
94c4a3ef61
commit
f294b655a2
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user