Add FreeBSD CI by Cirrus CI

This commit is contained in:
Koichiro IWAO 2019-12-23 23:18:44 +09:00
parent de5a23325f
commit f9a1e617f4
No known key found for this signature in database
GPG Key ID: 9F72CDBC01BF10EB
1 changed files with 17 additions and 0 deletions

17
.cirrus.yml Normal file
View File

@ -0,0 +1,17 @@
FreeBSD_task:
freebsd_instance:
image: freebsd-12-1-release-amd64
env:
ASSUME_ALWAYS_YES: TRUE # required for unattanded "pkg" invocation
prepare_script:
- pkg install openssl111 git autoconf automake libtool pkgconf opus jpeg-turbo fdk-aac pixman libX11 libXfixes libXrandr nasm
- git submodule update --init --recursive
configure_script:
- ./bootstrap
- env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure --localstatedir=/var --enable-strict-locations --with-pkgconfigdir=/usr/local/libdata/pkgconfig --enable-strict-locations --enable-ipv6 --enable-opus --enable-jpeg --enable-fdkaac --enable-painter --enable-pixman
build_script:
- make -j $(sysctl -n hw.ncpu || echo 4)
install_script:
- make install
test_script:
- /usr/local/sbin/xrdp -v