summaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-03-16 20:50:17 -0400
committerGitHub <noreply@github.com>2020-03-16 20:50:17 -0400
commitde6e4a133180167c651f6d7f8a6b0662ab485d89 (patch)
tree64cdf71f7711f79c44dbc27d4d509ede09a1c4ac /.cirrus.yml
parent1f0bacd901fe2f54ca4d441fad92b51e851ed439 (diff)
parentfed68d1748308f73772639ce7cd5b06100b7563f (diff)
downloadbfs-de6e4a133180167c651f6d7f8a6b0662ab485d89.tar.xz
Merge pull request #57 from tavianator/cirrus
cirrus: Add a Cirrus CI build to test FreeBSD
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 0000000..ecd7c7f
--- /dev/null
+++ b/.cirrus.yml
@@ -0,0 +1,14 @@
+freebsd_instance:
+ image_family: freebsd-12-1
+
+task:
+ install_script: |
+ mount -t fdescfs fdescfs /dev/fd
+ pkg install -y bash git gmake
+ ln -s ../usr/local/bin/bash /bin/bash
+ pw groupadd -n users
+ pw useradd -n user -g users -s /bin/sh -m
+ git clone . ~user/bfs
+ chown -R user:users ~user/bfs
+ test_script: |
+ su user -c "gmake -C ~/bfs check"