|
Packit |
40c2f1 |
# Cirrus CI configuration
|
|
Packit |
40c2f1 |
# https://cirrus-ci.com/github/libexif/libexif
|
|
Packit |
40c2f1 |
|
|
Packit |
40c2f1 |
task:
|
|
Packit |
40c2f1 |
name: FreeBSD
|
|
Packit |
40c2f1 |
freebsd_instance:
|
|
Packit |
40c2f1 |
matrix:
|
|
Packit |
40c2f1 |
# There isn't a stable 13.0 image yet (2019-12)
|
|
Packit |
40c2f1 |
image_family: freebsd-13-0-snap
|
|
Packit |
40c2f1 |
image_family: freebsd-12-1
|
|
Packit |
40c2f1 |
# The stable 11.3 image causes "Agent is not responding" so use a snapshot
|
|
Packit |
40c2f1 |
image_family: freebsd-11-3-snap
|
|
Packit |
40c2f1 |
|
|
Packit |
40c2f1 |
env:
|
|
Packit |
40c2f1 |
# Set to 10 instead of 1 to avoid problems when new commits are submitted
|
|
Packit |
40c2f1 |
# during a run.
|
|
Packit |
40c2f1 |
CIRRUS_CLONE_DEPTH: 10
|
|
Packit |
40c2f1 |
CFLAGS: -Wall -Wextra -O2
|
|
Packit |
40c2f1 |
MAKE_FLAGS: -j 2
|
|
Packit |
40c2f1 |
|
|
Packit |
40c2f1 |
pkginstall_script:
|
|
Packit |
40c2f1 |
- pkg install -y autoconf automake libtool gettext-tools gettext-runtime
|
|
Packit |
40c2f1 |
configure_script:
|
|
Packit |
40c2f1 |
- autoreconf -sivf
|
|
Packit |
40c2f1 |
- ./configure --disable-dependency-tracking CFLAGS="$CFLAGS" || { tail -300 config.log; false; }
|
|
Packit |
40c2f1 |
compile_script:
|
|
Packit |
40c2f1 |
- make V=1
|
|
Packit |
40c2f1 |
test_script:
|
|
Packit |
40c2f1 |
- make V=1 check
|
|
Packit |
40c2f1 |
install_script:
|
|
Packit |
40c2f1 |
- make V=1 install
|