blob: 637d90a3bf6522187236eece354b7b896888e7e1 (
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
27
|
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
environment:
PATH: $HOME/qbe/obj:$PATH
tasks:
- build: |
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
|