Skip to content

Commit 41ee6eb

Browse files
authored
Merge pull request #12 from awnumar/cirrus
Fix cirrus CI
2 parents 4735cf5 + 5e4c0b3 commit 41ee6eb

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.cirrus.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ linux_task:
1313
- go test -race -v ./...
1414

1515
osx_task:
16-
osx_instance:
17-
image: big-sur-base
16+
macos_instance:
17+
image: ghcr.io/cirruslabs/macos-ventura-base:latest
1818
env:
1919
GO111MODULE: on
2020
GOPATH: /tmp/go
@@ -39,16 +39,21 @@ windows_task:
3939
CIRRUS_WORKING_DIR: C:\golang\src\github.com\${CIRRUS_REPO_FULL_NAME}
4040
install_script:
4141
- choco install -y golang
42+
- choco install -y mingw # This installs MinGW which includes gcc
43+
- refreshenv
44+
- gcc --version
4245
build_script:
4346
- go version
4447
- go get ./...
45-
- go build -race -v ./...
48+
- env CGO_ENABLED=1 go build -race -v ./...
4649
test_script:
47-
- go test -race -v ./...
50+
- refreshenv
51+
- echo $PATH
52+
- env CGO_ENABLED=1 go test -race -v ./...
4853

4954
freebsd_task:
5055
freebsd_instance:
51-
image: freebsd-12-2-release-amd64
56+
image: freebsd-14-0-release-amd64-ufs
5257
env:
5358
GO111MODULE: on
5459
GOPATH: /tmp/go

0 commit comments

Comments
 (0)