diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-03-04 14:26:32 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-03-16 18:15:35 -0400 |
commit | fed68d1748308f73772639ce7cd5b06100b7563f (patch) | |
tree | 569b8e8f53a619f4fe2acecec4f7623ffb55d506 /.cirrus.yml | |
parent | 09558efdf0af09db73a4d16039a1e2718e7a58c5 (diff) | |
download | bfs-fed68d1748308f73772639ce7cd5b06100b7563f.tar.xz |
cirrus: Add a Cirrus CI build to test FreeBSD
Fixes #41.
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 14 |
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" |