diff options
author | Li-Wen Hsu <lwhsu@lwhsu.org> | 2018-12-19 12:24:26 +0800 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@lwhsu.org> | 2019-01-12 03:58:42 +0800 |
commit | 52c6938f17cc97f3be797133fb34846b5f9a9cbd (patch) | |
tree | 2b9d278f882feaeb2880528ea3a41f37cbb370a5 /.cirrus.yml | |
parent | b52dd6c9e4ef7cf95c2a6ae5ab7ccac7f6d462a1 (diff) | |
download | libarchive-52c6938f17cc97f3be797133fb34846b5f9a9cbd.tar.gz |
Add Cirrus-CI config for FreeBSD builds
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 00000000..e62b3719 --- /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 |