Add CI for FreeBSD (#404)
authorAlan Somers <asomers@gmail.com>
Wed, 1 May 2019 15:04:26 +0000 (09:04 -0600)
committerNikolaus Rath <Nikolaus@rath.org>
Wed, 1 May 2019 15:04:26 +0000 (08:04 -0700)
Fixes #403

.cirrus.yml [new file with mode: 0644]
make_release_tarball.sh

diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644 (file)
index 0000000..6fe78ec
--- /dev/null
@@ -0,0 +1,10 @@
+# Build libfuse on FreeBSD, but don't run the tests.
+# More work is required to make the tests work.
+freebsd_instance:
+  image: freebsd-12-0-release-amd64
+  install_script: pkg install -y meson ninja
+  script:
+    - mkdir build
+    - cd build
+    - meson ..
+    - ninja
index 36b726cb760bee064c98df5f76988158b03c34a2..a2e777b96a3069fc026c63414fe6f8911a620069 100755 (executable)
@@ -22,7 +22,8 @@ mkdir "${TAG}"
 git archive --format=tar "${TAG}" | tar -x "--directory=${TAG}"
 find "${TAG}" -name .gitignore -delete
 rm "${TAG}/make_release_tarball.sh" \
-   "${TAG}/.travis.yml"
+   "${TAG}/.travis.yml" \
+   "${TAG}/.cirrus.yml"
 cp -a doc/html "${TAG}/doc/"
 tar -cJf "${TAG}.tar.xz" "${TAG}/"
 gpg --armor --detach-sign "${TAG}.tar.xz"