• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Cirrus CI configuration
2# https://cirrus-ci.com/github/libexif/libexif
3
4task:
5  name: FreeBSD
6  freebsd_instance:
7    matrix:
8      image_family: freebsd-13-0
9      image_family: freebsd-12-2
10      image_family: freebsd-11-4
11
12  env:
13    # Set to 10 instead of 1 to avoid problems when new commits are submitted
14    # during a run.
15    CIRRUS_CLONE_DEPTH: 10
16    CFLAGS: -Wall -Wextra -O2
17    MAKE_FLAGS: -j 2
18
19  pkginstall_script:
20    - pkg install -y autoconf automake libtool gettext-tools gettext-runtime
21  configure_script:
22    - autoreconf -sivf
23    - ./configure --disable-dependency-tracking CFLAGS="$CFLAGS" || { tail -300 config.log; false; }
24  compile_script:
25    - make V=1
26  test_script:
27    - make V=1 check
28  install_script:
29    - make V=1 install
30