Skip to content

Commit

Permalink
Fixes windows and FreeBSD ci failures (#159)
Browse files Browse the repository at this point in the history
* Fixes windows ci failure

* Attempting to figure out why gcc isn't getting found

* Get more data

* Tries to fix windows and freebsd

* Moves echo

* Update .cirrus.yml

* Update .cirrus.yml
  • Loading branch information
EthanHeilman authored Mar 28, 2024
1 parent fce56aa commit 763f8c7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,24 @@ windows_task:
CIRRUS_WORKING_DIR: C:\golang\src\github.com\${CIRRUS_REPO_FULL_NAME}
install_script:
- choco install -y golang
- choco install -y mingw # This installs MinGW which includes gcc
- refreshenv
- gcc --version
build_script:
- go version
- go get ./...
- env CGO_ENABLED=1 go build -race -v ./...
test_script:
- echo $PATH
- refreshenv
- echo $PATH
- env CGO_ENABLED=1 go test -race -v ./...
bench_script:
- go test -run=XXX -bench=. ./...

freebsd_task:
freebsd_instance:
image: freebsd-12-2-release-amd64
image: freebsd-14-0-release-amd64-ufs
env:
GO111MODULE: on
GOPATH: /tmp/go
Expand All @@ -69,4 +75,4 @@ freebsd_task:
test_script:
- go test -race -v ./...
bench_script:
- go test -run=XXX -bench=. ./...
- go test -run=XXX -bench=. ./...

0 comments on commit 763f8c7

Please sign in to comment.