mirror of https://github.com/statping/statping
gh builds debug
parent
51a5007bbb
commit
9087049a0f
|
@ -249,9 +249,6 @@ jobs:
|
|||
name: static-rice-box
|
||||
path: ./source
|
||||
|
||||
- name: Setup tmate session
|
||||
uses: mxschmitt/action-tmate@v2
|
||||
|
||||
- name: Build Binaries
|
||||
env:
|
||||
VERSION: ${{ env.VERSION }}
|
||||
|
@ -299,6 +296,7 @@ jobs:
|
|||
builds/statping-linux-arm.tar.gz
|
||||
builds/statping-linux-arm64.tar.gz
|
||||
builds/statping-darwin-amd64.tar.gz
|
||||
builds/statping-darwin-386.tar.gz
|
||||
builds/statping-windows-386.zip
|
||||
builds/statping-windows-amd64.zip
|
||||
builds/statping-windows-arm.zip
|
||||
|
|
4
Makefile
4
Makefile
|
@ -162,8 +162,8 @@ build-win:
|
|||
go build -a -ldflags "-s -w -extldflags -static -X main.VERSION=${VERSION}" -o releases/statping-windows-386/statping.exe ./cmd
|
||||
|
||||
build-darwin:
|
||||
CGO_ENABLED=1 GO111MODULE="on" GOOS=darwin GOARCH=amd64 go build -a -ldflags "-s -w -X main.VERSION=${VERSION}" -o releases/statping-darwin-amd64/statping --tags "darwin" ./cmd
|
||||
# CGO_ENABLED=1 GO111MODULE="on" GOOS=darwin GOARCH=386 go build -a -ldflags "-s -w -X main.VERSION=${VERSION}" -o releases/statping-darwin-386/statping --tags "darwin" ./cmd
|
||||
GO111MODULE="on" GOOS=darwin GOARCH=amd64 go build -a -ldflags "-s -w -X main.VERSION=${VERSION}" -o releases/statping-darwin-amd64/statping --tags "darwin" ./cmd
|
||||
GO111MODULE="on" GOOS=darwin GOARCH=386 go build -a -ldflags "-s -w -X main.VERSION=${VERSION}" -o releases/statping-darwin-386/statping --tags "darwin" ./cmd
|
||||
|
||||
build-linux:
|
||||
CGO_ENABLED=1 GO111MODULE="on" GOOS=linux GOARCH=amd64 \
|
||||
|
|
Loading…
Reference in New Issue