1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

Merge pull request #1054 from metalefty/freebsd-ci

Merge pull request #1054: Further FreeBSD CI refinements
This commit is contained in:
Ilya Shipitsin 2019-12-24 11:49:13 +05:00 committed by GitHub
commit 92c544cc1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,30 +1,28 @@
FreeBSD_task:
freebsd_instance:
image: freebsd-12-1-release-amd64
env:
ASSUME_ALWAYS_YES: TRUE # required for unattanded "pkg" invocation
install_script:
- pkg install cmake openssl111 git
matrix:
env:
SSL: openssl
env:
SSL: openssl111
env:
SSL: libressl
env:
SSL: libressl-devel
env:
SSL:
matrix:
freebsd_instance:
image_family: freebsd-12-1
freebsd_instance:
image_family: freebsd-11-3-snap
prepare_script:
- pkg install -y cmake git $SSL
- git submodule update --init --recursive
script:
- ./configure
- make -j $(sysctl -n hw.ncpu || echo 4) -C tmp
- ldd build/vpnserver
- .ci/memory-leak-test.sh
- .ci/vpntools-check.sh
FreeBSD_task:
freebsd_instance:
# 11-3-release doesn't boot: https://cirrus-ci.org/guide/FreeBSD/
image: freebsd-11-3-stable-amd64-v20191205
env:
ASSUME_ALWAYS_YES: TRUE # required for unattanded "pkg" invocation
install_script:
- pkg install cmake openssl111 git
- git submodule update --init --recursive
script:
configure_script:
- ./configure
build_script:
- make -j $(sysctl -n hw.ncpu || echo 4) -C tmp
test_script:
- ldd build/vpnserver
- .ci/memory-leak-test.sh
- .ci/vpntools-check.sh