From 1c07ddcb8d3b5c69456a712b997ce2cae948b51c Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Fri, 6 Dec 2019 15:17:34 +0900 Subject: [PATCH] FreeBSD CI: perform memory leak test as well as Linux/Windows and also move `vpncmd /tools /cmd:check` under .ci directory. --- .ci/vpntools-check.sh | 5 +++++ .cirrus.yml | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100755 .ci/vpntools-check.sh diff --git a/.ci/vpntools-check.sh b/.ci/vpntools-check.sh new file mode 100755 index 00000000..c5deda52 --- /dev/null +++ b/.ci/vpntools-check.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +set -eux + +./build/vpncmd /tools /cmd:check diff --git a/.cirrus.yml b/.cirrus.yml index 81b6b328..e05f1c0d 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -10,7 +10,8 @@ FreeBSD_task: - ./configure - make -j $(sysctl -n hw.ncpu || echo 4) -C tmp - ldd build/vpnserver - - build/vpncmd /tool /cmd:check + - .ci/memory-leak-test.sh + - .ci/vpntools-check.sh FreeBSD_task: freebsd_instance: @@ -25,4 +26,5 @@ FreeBSD_task: - ./configure - make -j $(sysctl -n hw.ncpu || echo 4) -C tmp - ldd build/vpnserver - - build/vpncmd /tool /cmd:check + - .ci/memory-leak-test.sh + - .ci/vpntools-check.sh