From cc125317dd38571da1b65304011d62bb76b444c1 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Jul 06 2019 21:46:13 +0000 Subject: Add .build.yml --- diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..cd90ea7 --- /dev/null +++ b/.build.yml @@ -0,0 +1,27 @@ +image: alpine/edge +packages: +- flex +- bison +sources: +- https://git.sr.ht/~sircmpwn/scdoc +- https://git.sr.ht/~sircmpwn/annotatec +secrets: +- 52022781-b772-4d8d-b7fe-0d962a4947b6 +tasks: +- build: | + cd scdoc + make +- check: | + cd scdoc + make check +- annotatec: | + cd annotatec + make + sudo make install PREFIX=/usr +- annotations: | + cd ~/scdoc + # that version string, jesus christ + find src -name "*.c" | \ + xargs annotatec -gC 'cpp -DVERSION='"'"'"0.0.0"'"'"' -std=c99 -Iinclude -U__GNUC__' \ + >annotations.json + ~/upload-annotations annotations.json sircmpwn scdoc