gh builds debug

pull/585/head
hunterlong 2020-05-11 21:34:17 -07:00
parent 51a5007bbb
commit 9087049a0f
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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 \