mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
FreeBSD CI: use matrix to perform test
on multiple FreeBSD version and with multiple SSL libraries.
This commit is contained in:
parent
0d79b3c3b5
commit
9556f09166
31
.cirrus.yml
31
.cirrus.yml
@ -1,30 +1,29 @@
|
|||||||
FreeBSD_task:
|
FreeBSD_task:
|
||||||
|
matrix:
|
||||||
|
env:
|
||||||
|
SSL: openssl
|
||||||
|
env:
|
||||||
|
SSL: openssl111
|
||||||
|
env:
|
||||||
|
SSL: libressl
|
||||||
|
env:
|
||||||
|
SSL: libressl-devel
|
||||||
|
matrix:
|
||||||
freebsd_instance:
|
freebsd_instance:
|
||||||
image: freebsd-12-1-release-amd64
|
image: freebsd-12-1-release-amd64
|
||||||
env:
|
|
||||||
ASSUME_ALWAYS_YES: TRUE # required for unattanded "pkg" invocation
|
|
||||||
install_script:
|
|
||||||
- pkg install cmake openssl111 git
|
|
||||||
- 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:
|
freebsd_instance:
|
||||||
# 11-3-release doesn't boot: https://cirrus-ci.org/guide/FreeBSD/
|
# 11-3-release doesn't boot: https://cirrus-ci.org/guide/FreeBSD/
|
||||||
image: freebsd-11-3-stable-amd64-v20191205
|
image: freebsd-11-3-stable-amd64-v20191205
|
||||||
env:
|
env:
|
||||||
ASSUME_ALWAYS_YES: TRUE # required for unattanded "pkg" invocation
|
ASSUME_ALWAYS_YES: TRUE # required for unattanded "pkg" invocation
|
||||||
install_script:
|
prepare_script:
|
||||||
- pkg install cmake openssl111 git
|
- pkg install cmake git $SSL
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
script:
|
configure_script:
|
||||||
- ./configure
|
- ./configure
|
||||||
|
build_script:
|
||||||
- make -j $(sysctl -n hw.ncpu || echo 4) -C tmp
|
- make -j $(sysctl -n hw.ncpu || echo 4) -C tmp
|
||||||
|
test_script:
|
||||||
- ldd build/vpnserver
|
- ldd build/vpnserver
|
||||||
- .ci/memory-leak-test.sh
|
- .ci/memory-leak-test.sh
|
||||||
- .ci/vpntools-check.sh
|
- .ci/vpntools-check.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user