mirror of https://github.com/ddevault/scdoc
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
605 B
28 lines
605 B
6 years ago
|
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
|