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