mirror of https://github.com/statping/statping
gh builds
parent
9b26e55934
commit
42a4356a7d
|
@ -247,9 +247,6 @@ jobs:
|
||||||
name: static-rice-box
|
name: static-rice-box
|
||||||
path: ./source
|
path: ./source
|
||||||
|
|
||||||
- name: Setup tmate session
|
|
||||||
uses: mxschmitt/action-tmate@v2
|
|
||||||
|
|
||||||
- name: Build Binaries
|
- name: Build Binaries
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ env.VERSION }}
|
VERSION: ${{ env.VERSION }}
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -168,7 +168,7 @@ build-darwin:
|
||||||
build-linux:
|
build-linux:
|
||||||
CGO_ENABLED=1 GO111MODULE="on" GOOS=linux GOARCH=amd64 \
|
CGO_ENABLED=1 GO111MODULE="on" GOOS=linux GOARCH=amd64 \
|
||||||
go build -a -ldflags "-s -w -extldflags -static -X main.VERSION=${VERSION}" -o releases/statping-linux-amd64/statping --tags "linux" ./cmd
|
go build -a -ldflags "-s -w -extldflags -static -X main.VERSION=${VERSION}" -o releases/statping-linux-amd64/statping --tags "linux" ./cmd
|
||||||
CGO_ENABLED=1 GO111MODULE="on" GOOS=linux GOARCH=386 \
|
GO111MODULE="on" GOOS=linux GOARCH=386 \
|
||||||
go build -a -ldflags "-s -w -extldflags -static -X main.VERSION=${VERSION}" -o releases/statping-linux-386/statping --tags "linux" ./cmd
|
go build -a -ldflags "-s -w -extldflags -static -X main.VERSION=${VERSION}" -o releases/statping-linux-386/statping --tags "linux" ./cmd
|
||||||
|
|
||||||
build-linux-arm:
|
build-linux-arm:
|
||||||
|
|
Loading…
Reference in New Issue