24 lines
664 B
YAML
24 lines
664 B
YAML
env:
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
GO_VERSION: go1.22.2
|
|
|
|
freebsd_13_task:
|
|
freebsd_instance:
|
|
image_family: freebsd-13-2
|
|
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 -v ./...
|
|
test_script: bin/${GO_VERSION} test -race ./...
|
|
|
|
freebsd_14_task:
|
|
freebsd_instance:
|
|
image_family: freebsd-14-0
|
|
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 -v ./...
|
|
test_script: bin/${GO_VERSION} test -race ./...
|