summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2019-02-02 20:01:49 +0100
committerDan Fandrich <dan@coneharvesters.com>2019-02-03 00:15:40 +0100
commit8272f1064d90967ee694945b10cfa9edee80576e (patch)
tree86a3f6e5369940363b890ca757fbf1cdbd58d9ab /.cirrus.yml
parentb958eb830cae0f473a2130b5cd57de7ffc0c0e96 (diff)
downloadlibexif-8272f1064d90967ee694945b10cfa9edee80576e.tar.gz
libexif-8272f1064d90967ee694945b10cfa9edee80576e.tar.bz2
libexif-8272f1064d90967ee694945b10cfa9edee80576e.zip
Added FreeBSD builds on Cirrus CI.
Build results will be at https://cirrus-ci.com/github/libexif/libexif
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 0000000..9a2ceb4
--- /dev/null
+++ b/.cirrus.yml
@@ -0,0 +1,27 @@
+# Cirrus CI configuration
+# https://cirrus-ci.com/github/libexif/libexif
+
+task:
+ name: FreeBSD
+ freebsd_instance:
+ matrix:
+ image: freebsd-12-0-release-amd64
+ image: freebsd-11-2-release-amd64
+ image: freebsd-10-4-release-amd64
+
+ env:
+ CIRRUS_CLONE_DEPTH: 1
+ CFLAGS: -Wall -Wextra -O2
+ MAKE_FLAGS: -j 2
+
+ pkginstall_script:
+ - pkg install -y autoconf automake libtool gettext-tools gettext-runtime
+ configure_script:
+ - autoreconf -sivf
+ - ./configure CFLAGS="$CFLAGS" || { tail -300 config.log; false; }
+ compile_script:
+ - make V=1
+ test_script:
+ - make V=1 check
+ install_script:
+ - make V=1 install