]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add Cirrus-CI config for FreeBSD builds
authorLi-Wen Hsu <lwhsu@lwhsu.org>
Thu, 10 Jan 2019 20:00:27 +0000 (04:00 +0800)
committerLi-Wen Hsu <lwhsu@lwhsu.org>
Wed, 16 Jan 2019 19:42:14 +0000 (03:42 +0800)
.cirrus.yml [new file with mode: 0644]

diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644 (file)
index 0000000..777d3ec
--- /dev/null
@@ -0,0 +1,15 @@
+env:
+  CIRRUS_CLONE_DEPTH: 1
+  ARCH: amd64
+
+task:
+  freebsd_instance:
+    matrix:
+      image: freebsd-12-0-release-amd64
+      image: freebsd-11-2-release-amd64
+  install_script:
+    - sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf
+    - pkg upgrade -y
+    - pkg install -y gmake
+  script:
+    - CFLAGS="-Werror" gmake -j all