File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ linux_task:
13
13
- go test -race -v ./...
14
14
15
15
osx_task :
16
- osx_instance :
17
- image : big-sur -base
16
+ macos_instance :
17
+ image : ghcr.io/cirruslabs/macos-ventura -base:latest
18
18
env :
19
19
GO111MODULE : on
20
20
GOPATH : /tmp/go
@@ -39,16 +39,21 @@ windows_task:
39
39
CIRRUS_WORKING_DIR : C:\golang\src\github.com\${CIRRUS_REPO_FULL_NAME}
40
40
install_script :
41
41
- choco install -y golang
42
+ - choco install -y mingw # This installs MinGW which includes gcc
43
+ - refreshenv
44
+ - gcc --version
42
45
build_script :
43
46
- go version
44
47
- go get ./...
45
- - go build -race -v ./...
48
+ - env CGO_ENABLED=1 go build -race -v ./...
46
49
test_script :
47
- - go test -race -v ./...
50
+ - refreshenv
51
+ - echo $PATH
52
+ - env CGO_ENABLED=1 go test -race -v ./...
48
53
49
54
freebsd_task :
50
55
freebsd_instance :
51
- image : freebsd-12-2 -release-amd64
56
+ image : freebsd-14-0 -release-amd64-ufs
52
57
env :
53
58
GO111MODULE : on
54
59
GOPATH : /tmp/go
You can’t perform that action at this time.
0 commit comments