From 722e1fb6b6175001cbc1da9323dcb74df499d363 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 17 Mar 2022 16:43:42 +0100 Subject: [PATCH] .cirrus.yml: disable buildvcs on build and test Explicitly disable buildvcs for build and test on FreeBSD. See https://github.com/golang/go/issues/51723 and https://github.com/golang/go/issues/51748. --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index c5c80e6..1ff7ef0 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -6,8 +6,8 @@ freebsd_12_task: freebsd_instance: image_family: freebsd-12-3 install_script: | - pkg install -y git go + 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 -race ./... + test_script: bin/${GO_VERSION} test -buildvcs=false -race ./...