Add .build.yml

This commit is contained in:
Drew DeVault 2019-07-07 18:51:51 -04:00
parent 363aab5cc1
commit c79577d376
1 changed files with 24 additions and 0 deletions

24
.build.yml Normal file
View File

@ -0,0 +1,24 @@
image: alpine/edge
packages:
- go
- scdoc
sources:
- https://git.sr.ht/~sircmpwn/aerc
- https://git.sr.ht/~sircmpwn/annotatego
secrets:
- 52022781-b772-4d8d-b7fe-0d962a4947b6
tasks:
- build: |
cd aerc
make
- test: |
cd aerc
go test ./...
- annotatego: |
cd annotatego
go build
sudo cp annotatego /usr/bin/
- annotate: |
cd aerc
annotatego -v git.sr.ht/~sircmpwn/aerc... >annotations.json
~/upload-annotations annotations.json sircmpwn aerc