aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.builds/openbsd.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml
new file mode 100644
index 0000000..508c8ca
--- /dev/null
+++ b/.builds/openbsd.yml
@@ -0,0 +1,17 @@
+image: openbsd/latest
+sources:
+- https://git.sr.ht/~mcf/cc
+- git://c9x.me/qbe.git
+packages:
+- gmake
+environment:
+ PATH: $HOME/qbe/obj:$PATH
+tasks:
+- build: |
+ gmake -C qbe
+ cd cc
+ ./configure
+ make all check
+ # OpenBSD support is not quite there (#53), so just build hello world
+ ./cc -o hello test/hello.c
+ ./hello