CI: introduce scripts/build-vtest.sh for installing VTest

we install VTest for all CI systems, let us unify instalation
This commit is contained in:
Ilya Shipitsin
2021-05-15 11:46:15 +05:00
committed by Willy Tarreau
parent 18c7d83934
commit 0b03895620
5 changed files with 15 additions and 13 deletions

10
scripts/build-vtest.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
set -eux
curl -fsSL https://github.com/vtest/VTest/archive/master.tar.gz -o VTest.tar.gz
mkdir ../vtest
tar xvf VTest.tar.gz -C ../vtest --strip-components=1
# Special flags due to: https://github.com/vtest/VTest/issues/12
make -C ../vtest FLAGS="-O2 -s -Wall"