forked from libexif/exif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
30 lines (27 loc) · 1.11 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Cirrus CI configuration
# https://cirrus-ci.com/github/libexif/exif
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 popt pkgconf git
- git clone --depth=1 https://github.com/libexif/libexif.git /tmp/libexif
builddeps_script:
- (cd /tmp/libexif && autoreconf -sivf && ./configure --prefix=/tmp/libexif/install && make V=1 && make V=1 install)
configure_script:
- autoreconf -sivf
- ./configure --prefix="${HOME}" CFLAGS="$CFLAGS" PKG_CONFIG_PATH="/tmp/libexif/install/lib/pkgconfig:/usr/libdata/pkgconfig:/usr/local/libdata/pkgconfig" POPT_CFLAGS="$(pkg-config --cflags popt)" POPT_LIBS="$(pkg-config --libs popt)" || { tail -300 config.log; false; }
compile_script:
- make V=1
test_script:
- make V=1 check || { tail -300 test/test-suite.log; false; }
install_script:
- make V=1 install