diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2022-11-10 00:33:58 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2022-11-14 13:23:48 +0100 |
commit | c6ea54c954a7f9f204b3d49fe330190558448b01 (patch) | |
tree | 8409c8bf07d4d6ebfef86502e1dfc82a07d85c7d /.cirrus.yml | |
parent | 4dd0f3a32214568e6f20aefdfe8716ccf7071fca (diff) | |
download | libgphoto2-c6ea54c954a7f9f204b3d49fe330190558448b01.tar.gz |
ci: Add Cirrus CI build for FreeBSD
Add a CI build for FreeBSD using Cirrus CI.
We can use Github Workflow for Linux, macOS, and Windows.
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 000000000..a33bae72d --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,29 @@ +# Cirrus CI configuration +# https://cirrus-ci.com/github/gphoto/libgphoto2 + +task: + name: FreeBSD + freebsd_instance: + matrix: + image_family: freebsd-13-0 + # image_family: freebsd-12-2 + # image_family: freebsd-11-4 + + env: + # Set to 10 instead of 1 to avoid problems when new commits are submitted + # during a run. + CIRRUS_CLONE_DEPTH: 10 + CFLAGS: -Wall -Wextra -O2 + MAKE_FLAGS: -j 2 + + pkginstall_script: + - pkg install -y autoconf automake libtool gettext-tools gettext-runtime pkgconf libltdl libexif libgd libxml2 curl + configure_script: + - autoreconf -ivf + - ./configure --disable-silent-rules --with-camlibs=everything || { tail -300 config.log; false; } + compile_script: + - make + test_script: + - make check + install_script: + - make install |