diff options
author | Michael Forney <mforney@mforney.org> | 2019-02-12 02:24:33 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-02-12 02:24:33 -0800 |
commit | 613eecd142ebb5c840b0f05a277b85060c2b5c9d (patch) | |
tree | 8be08c7745ba7de21d4319c732661313fa7d5787 /.builds | |
parent | abb999ad65f26a69db64c31b682c39d2be59071c (diff) |
Add continuous build configuration
Diffstat (limited to '.builds')
-rw-r--r-- | .builds/alpine.yml | 9 | ||||
-rw-r--r-- | .builds/debian.yml | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml new file mode 100644 index 0000000..e038d3c --- /dev/null +++ b/.builds/alpine.yml @@ -0,0 +1,9 @@ +image: alpine/edge +sources: + - https://git.sr.ht/~mcf/cc + - https://github.com/michaelforney/qbe +tasks: + - build: | + make -C qbe + echo 'CFLAGS=-DDYNAMICLINKER=\"/lib/ld-musl-x86_64.so.1\"' >cc/config.mk + PATH=$PWD/qbe/obj:$PATH make -C cc all check bootstrap diff --git a/.builds/debian.yml b/.builds/debian.yml new file mode 100644 index 0000000..f829294 --- /dev/null +++ b/.builds/debian.yml @@ -0,0 +1,8 @@ +image: debian/stretch +sources: + - https://git.sr.ht/~mcf/cc + - https://github.com/michaelforney/qbe +tasks: + - build: | + make -C qbe + PATH=$PWD/qbe/obj:$PATH make -C cc all check bootstrap |