From 52c6938f17cc97f3be797133fb34846b5f9a9cbd Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Wed, 19 Dec 2018 12:24:26 +0800 Subject: [PATCH] Add Cirrus-CI config for FreeBSD builds --- .cirrus.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 000000000..e62b37199 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,17 @@ +env: + CIRRUS_CLONE_DEPTH: 1 + ARCH: amd64 + CPPFLAGS: -I/usr/local/include + LDFLAGS: -L/usr/local/lib + +task: + freebsd_instance: + matrix: + image: freebsd-12-0-release-amd64 + image: freebsd-11-2-release-amd64 + install_script: + - sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf + - pkg upgrade -y + - pkg install -y autoconf automake libiconv libtool pkgconf + script: + - ./build/ci_build.sh -- 2.47.2