You've already forked speedtest-go
fix: skip upx for darwin/arm64 target
This commit is contained in:
+14
-3
@@ -17,7 +17,6 @@ builds:
|
||||
goos:
|
||||
- windows
|
||||
- linux
|
||||
- darwin
|
||||
goarch:
|
||||
- 386
|
||||
- amd64
|
||||
@@ -28,14 +27,26 @@ builds:
|
||||
- 6
|
||||
- 7
|
||||
ignore:
|
||||
- goos: darwin
|
||||
goarch: 386
|
||||
- goos: windows
|
||||
goarch: arm
|
||||
- goos: windows
|
||||
goarch: arm64
|
||||
hooks:
|
||||
post: upx -9 "{{ .Path }}"
|
||||
- main: ./main.go
|
||||
id: speedtest-backend-darwin
|
||||
binary: speedtest-backend
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
flags:
|
||||
- -trimpath
|
||||
ldflags:
|
||||
- -w -s
|
||||
goos:
|
||||
- darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
- main: ./main.go
|
||||
id: speedtest-backend-freebsd
|
||||
binary: speedtest-backend
|
||||
|
||||
Reference in New Issue
Block a user