aboutsummaryrefslogtreecommitdiff
path: root/.builds/alpine.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/alpine.yml')
-rw-r--r--.builds/alpine.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml
index 55aacc0..753d136 100644
--- a/.builds/alpine.yml
+++ b/.builds/alpine.yml
@@ -1,7 +1,13 @@
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:
@@ -10,3 +16,8 @@ tasks:
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