test build.yml

This commit is contained in:
Motiejus Jakštys 2021-05-31 23:43:07 +03:00
parent 84ca866c8a
commit 0ffdcdfa64
2 changed files with 15 additions and 0 deletions

14
.build.yml Normal file
View File

@ -0,0 +1,14 @@
image: alpine/edge
packages:
- go
sources:
- https://git.sr.ht/~motiejus/undocker
tasks:
- test: |
cd undocker
go test -cover ./...
- build: |
cd undocker
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build .
artifacts:
- undocker/undocker

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/undocker