blob: 753d1360c4fc151d4765329192dd62b9cc0e8c5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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
|