From 4940c1201e0afb6b7f407600616f2fedf2aeeb5e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 19 Jan 2026 10:47:57 +0800 Subject: ci: Add FreeBSD --- .builds/alpine.yml | 29 +++++++++++++++++++++++++++++ .builds/freebsd.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 .builds/alpine.yml create mode 100644 .builds/freebsd.yml (limited to '.builds') 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 ./... -- cgit v1.3.1-10-gc9f91