aboutsummaryrefslogtreecommitdiff
path: root/.builds/alpine.yml
blob: be06ce162c0d4f1ff86925adf4432102a22fa7ec (plain)
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: alpine/edge
packages:
- bison
- flex
sources:
- https://git.sr.ht/~mcf/cproc
- git://c9x.me/qbe.git
- https://git.sr.ht/~sircmpwn/annotatec
secrets:
- cd4f74b3-9b4f-435f-b747-e513ba03f947
tasks:
- build: |
    PATH=$HOME/qbe/obj:$PATH
    make -C qbe
    cd cproc
    ./configure
    make all check bootstrap
- annotate: |
    make -C annotatec
    cd cproc
    ~/annotatec/annotatec -g -C 'cpp -U __GNUC__' *.c > annotations.json
    ~/upload-annotations annotations.json mcf cproc
triggers:
- action: email
  condition: failure
  to: "<~mcf/cproc@lists.sr.ht>"