diff options
| author | 2026-01-19 10:47:57 +0800 | |
|---|---|---|
| committer | 2026-01-19 10:47:57 +0800 | |
| commit | 4940c1201e0afb6b7f407600616f2fedf2aeeb5e (patch) | |
| tree | 899e7250ad8ea06e2344f505004e4d4dee5749f7 /.builds | |
| parent | More changes from the import URL update (diff) | |
| signature | No signature | |
ci: Add FreeBSD
Diffstat (limited to '.builds')
| -rw-r--r-- | .builds/alpine.yml | 29 | ||||
| -rw-r--r-- | .builds/freebsd.yml | 30 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml new file mode 100644 index 00000000..e0bd8ad3 --- /dev/null +++ b/.builds/alpine.yml @@ -0,0 +1,29 @@ +image: alpine/edge +packages: + - golangci-lint + - go +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 ./... 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 ./... |
