Test on arm ()

This commit is contained in:
Antonio Navarro Perez 2021-12-17 14:44:42 -08:00 committed by GitHub
parent 1a59d03a0c
commit b98a93f59f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 68 additions and 29 deletions

View file

@ -22,10 +22,14 @@ run:
## build: build binary.
build: go-generate go-build
## test: execute all tests.
test:
## test-race: execute all tests with race enabled.
test-race:
CGO_ENABLED=1 go test -v --race -coverprofile=coverage.out ./...
## test: execute all tests
test:
CGO_ENABLED=1 go test -v -coverprofile=coverage.out ./...
## cross-compile: compile for other platforms using xgo.
cross-compile: go-generate go-cross-compile