14 lines
388 B
YAML
14 lines
388 B
YAML
env:
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
GO_VERSION: go1.20
|
|
|
|
freebsd_12_task:
|
|
freebsd_instance:
|
|
image_family: freebsd-12-3
|
|
install_script: |
|
|
pkg install -y go
|
|
GOBIN=$PWD/bin go install golang.org/dl/${GO_VERSION}@latest
|
|
bin/${GO_VERSION} download
|
|
build_script: bin/${GO_VERSION} build -buildvcs=false -v ./...
|
|
test_script: bin/${GO_VERSION} test -buildvcs=false -race ./...
|