Add .build.yml
This commit is contained in:
parent
363aab5cc1
commit
c79577d376
1 changed files with 24 additions and 0 deletions
24
.build.yml
Normal file
24
.build.yml
Normal 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
|
Loading…
Reference in a new issue