Add FreeBSD Cirrus CI (#580)

This commit is contained in:
Ben RUBSON 2020-02-23 16:51:15 +01:00 committed by GitHub
parent d9244a1341
commit ee47e2fc14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

12
.cirrus.yml Normal file
View File

@ -0,0 +1,12 @@
task:
freebsd_instance:
matrix:
image: freebsd-12-1-release-amd64
install_script:
- pkg install -y bash cmake fusefs-libs gettext perl5
- ln -s /usr/local/bin/bash /bin/bash
- ./ci/setup.sh
script:
- ./build.sh
env:
INTEGRATION: false

View File

@ -5,6 +5,8 @@
if [[ "$INTEGRATION" == "true" ]]; then
if uname -s | grep -q Linux; then
sudo modprobe fuse
elif uname -s | grep -q FreeBSD; then
kldload fuse
elif uname -s | grep -q Darwin; then
brew cask install osxfuse
brew reinstall openssl