mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-21 23:21:35 +03:00
32 lines
627 B
YAML
32 lines
627 B
YAML
before:
|
|
hooks:
|
|
- go mod tidy
|
|
|
|
dist: dist-linux
|
|
|
|
builds:
|
|
-
|
|
main: .
|
|
binary: sq
|
|
flags:
|
|
- -a
|
|
- -tags=netgo
|
|
env:
|
|
- CGO_ENABLED=1
|
|
- CGO_LDFLAGS=-static
|
|
- CC=aarch64-linux-gnu-gcc
|
|
- CXX=aarch64-linux-gnu-g++
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- arm64
|
|
ldflags:
|
|
- -extld=aarch64-linux-gnu-gcc
|
|
- -s -w
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Version=v{{ .Version }}
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Commit={{ .ShortCommit }}
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Timestamp={{ .Date }}
|
|
|
|
archives:
|
|
- format: binary
|