Skip to content

Commit

Permalink
Add Cirrus CI for FreeBSD
Browse files Browse the repository at this point in the history
Test on the latest supported stable version, currently 13.2 and 14.0.
  • Loading branch information
tklauser committed Jan 9, 2024
1 parent 9595888 commit 6c28b47
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
env:
CIRRUS_CLONE_DEPTH: 1
GO_VERSION: go1.21.5

freebsd_13_task:
freebsd_instance:
image_family: freebsd-13-2
install_script: |
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 -v ./...
test_script: bin/${GO_VERSION} test -race ./...

freebsd_14_task:
freebsd_instance:
image_family: freebsd-14-0
install_script: |
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 -v ./...
test_script: bin/${GO_VERSION} test -race ./...

0 comments on commit 6c28b47

Please sign in to comment.