This commit is contained in:
@@ -12,8 +12,6 @@ jobs:
|
|||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
GOOS: linux
|
|
||||||
GOARCH: arm64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
@@ -26,7 +24,7 @@ jobs:
|
|||||||
go test ./...
|
go test ./...
|
||||||
go vet ./...
|
go vet ./...
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
go build -trimpath -ldflags='-s -w' -o dist/groundstation-linux-arm64 ./cmd/groundstation
|
GOOS=linux GOARCH=arm64 go build -trimpath -ldflags='-s -w' -o dist/groundstation-linux-arm64 ./cmd/groundstation
|
||||||
tar -C dist -czf dist/groundstation-linux-arm64.tar.gz groundstation-linux-arm64
|
tar -C dist -czf dist/groundstation-linux-arm64.tar.gz groundstation-linux-arm64
|
||||||
sha256sum dist/groundstation-linux-arm64.tar.gz > dist/groundstation-linux-arm64.tar.gz.sha256
|
sha256sum dist/groundstation-linux-arm64.tar.gz > dist/groundstation-linux-arm64.tar.gz.sha256
|
||||||
sha256sum dist/groundstation-linux-arm64
|
sha256sum dist/groundstation-linux-arm64
|
||||||
|
|||||||
Reference in New Issue
Block a user