aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-01-19 10:47:57 +0800
committerGravatar Runxi Yu2026-01-19 10:47:57 +0800
commit4940c1201e0afb6b7f407600616f2fedf2aeeb5e (patch)
tree899e7250ad8ea06e2344f505004e4d4dee5749f7
parentMore changes from the import URL update (diff)
signatureNo signature
ci: Add FreeBSD
-rw-r--r--.builds/alpine.yml (renamed from .build.yml)0
-rw-r--r--.builds/freebsd.yml30
2 files changed, 30 insertions, 0 deletions
diff --git a/.build.yml b/.builds/alpine.yml
index e0bd8ad3..e0bd8ad3 100644
--- a/.build.yml
+++ b/.builds/alpine.yml
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml
new file mode 100644
index 00000000..8f82c35e
--- /dev/null
+++ b/.builds/freebsd.yml
@@ -0,0 +1,30 @@
+image: freebsd/latest
+packages:
+ - golangci-lint
+ - go
+ - go-dev
+tasks:
+ - build: |
+ cd furgit
+ go build
+ - test-sha256: |
+ cd furgit
+ go test -v ./...
+ - test-sha1: |
+ cd furgit
+ go test -v -tags sha1 ./...
+ - test-race-sha256: |
+ cd furgit
+ go test -race -v ./...
+ - test-race-sha1: |
+ cd furgit
+ go test -race -v -tags sha1 ./...
+ - test-purego-sha256: |
+ cd furgit
+ go test -v -tags purego ./...
+ - lint: |
+ cd furgit
+ golangci-lint run ./...
+ - vet: |
+ cd furgit
+ go vet ./...