Skip to content

Commit

Permalink
Include FreeBSD build in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jun 17, 2021
1 parent c5cb349 commit 4100279
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ GOLANGCI_LINT_VERSION=1.40.1
default: run build test lint format

.PHONY: build
build: build-darwin build-linux build-windows
build: build-darwin build-freebsd build-linux build-windows

.PHONY: build-darwin
build-darwin:
GOOS=darwin GOARCH=amd64 $(GO) build -o /dev/null .
GOOS=darwin GOARCH=arm64 $(GO) build -o /dev/null .

.PHONY: build-freebsd
build-freebsd:
GOOS=freebsd GOARCH=amd64 $(GO) build -o /dev/null .

.PHONY: build-linux
build-linux:
GOOS=linux GOARCH=amd64 $(GO) build -o /dev/null .
Expand Down

0 comments on commit 4100279

Please sign in to comment.