8d982d4757818470d944aa559118b6693e381ea4
[platform/upstream/libexif.git] / .cirrus.yml
1 # Cirrus CI configuration
2 # https://cirrus-ci.com/github/libexif/libexif
3
4 task:
5   name: FreeBSD
6   freebsd_instance:
7     matrix:
8       # There isn't a stable 13.0 image yet (2019-10)
9       image_family: freebsd-13-0-snap
10       image_family: freebsd-12-0
11       # The stable 11.3 image causes "Agent is not responding" so use a snapshot
12       image_family: freebsd-11-3-snap
13       image_family: freebsd-10-4
14
15   env:
16     # Set to 10 instead of 1 to avoid problems when new commits are submitted
17     # during a run.
18     CIRRUS_CLONE_DEPTH: 10
19     CFLAGS: -Wall -Wextra -O2
20     MAKE_FLAGS: -j 2
21
22   pkginstall_script:
23     - pkg install -y autoconf automake libtool gettext-tools gettext-runtime
24   configure_script:
25     - autoreconf -sivf
26     - ./configure --disable-dependency-tracking CFLAGS="$CFLAGS" || { tail -300 config.log; false; }
27   compile_script:
28     - make V=1
29   test_script:
30     - make V=1 check
31   install_script:
32     - make V=1 install