aboutsummaryrefslogtreecommitdiff
path: root/.builds
diff options
context:
space:
mode:
Diffstat (limited to '.builds')
-rw-r--r--.builds/alpine.yml9
-rw-r--r--.builds/debian.yml8
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