aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-07-07 00:37:55 -0700
committerMichael Forney <mforney@mforney.org>2019-07-07 00:38:15 -0700
commitae89197f69f4cf9bd83a8ded2a6dab8aa385c71f (patch)
tree154abf0ffba0c1597ed7c7856c07af5f10f0b034
parent8b4905a7ad2a749e6cff085e8a9ca5895b118e06 (diff)
Build annotations in continuous build
-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