Browse Source

FreeBSD CI: perform memory leak test as well as Linux/Windows

and also move `vpncmd /tools /cmd:check` under .ci directory.
Koichiro IWAO 6 years ago
parent
commit
1c07ddcb8d
2 changed files with 9 additions and 2 deletions
  1. 5 0
      .ci/vpntools-check.sh
  2. 4 2
      .cirrus.yml

+ 5 - 0
.ci/vpntools-check.sh

@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -eux
+
+./build/vpncmd /tools /cmd:check

+ 4 - 2
.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