aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 0b1a1ffc6015e58853e1664624d6c1398782b603 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
image: fedora/latest
packages:
  - go
sources:
  - https://git.sr.ht/~yotam/go-gemini
  - https://git.sr.ht/~sircmpwn/annotatego
secrets:
  - f43da1db-697d-4101-8607-e96f574b035a
tasks:
- lint: |
   cd go-gemini
   go vet
- test: |
   cd go-gemini
   go test
- build: |
   cd go-gemini
   make
- annotatego: |
   cd annotatego
   go build
   sudo cp annotatego /usr/bin/
- annotate: |
   cd go-gemini
   annotatego -v git.sr.ht/~yotam/go-gemini... >annotations.json
   ~/upload-annotations annotations.json yotam go-gemini