Fixed a couple of compiler warnings.
[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       image: freebsd-12-0-release-amd64
9       image: freebsd-11-2-release-amd64
10       image: freebsd-10-4-release-amd64
11
12   env:
13     CIRRUS_CLONE_DEPTH: 1
14     CFLAGS: -Wall -Wextra -O2
15     MAKE_FLAGS: -j 2
16
17   pkginstall_script:
18     - pkg install -y autoconf automake libtool gettext-tools gettext-runtime
19   configure_script:
20     - autoreconf -sivf
21     - ./configure --disable-dependency-tracking CFLAGS="$CFLAGS" || { tail -300 config.log; false; }
22   compile_script:
23     - make V=1
24   test_script:
25     - make V=1 check
26   install_script:
27     - make V=1 install