...
1env:
2 CIRRUS_CLONE_DEPTH: 1
3 GO_VERSION: go1.19.1
4
5freebsd_12_task:
6 freebsd_instance:
7 image_family: freebsd-12-3
8 install_script: |
9 pkg install -y go
10 GOBIN=$PWD/bin go install golang.org/dl/${GO_VERSION}@latest
11 bin/${GO_VERSION} download
12 build_script: bin/${GO_VERSION} build -v ./...
13 test_script: bin/${GO_VERSION} test -race ./...
14
15freebsd_13_task:
16 freebsd_instance:
17 image_family: freebsd-13-0
18 install_script: |
19 pkg install -y go
20 GOBIN=$PWD/bin go install golang.org/dl/${GO_VERSION}@latest
21 bin/${GO_VERSION} download
22 build_script: bin/${GO_VERSION} build -v ./...
23 test_script: bin/${GO_VERSION} test -race ./...
View as plain text