CI: travis-ci: switch BoringSSL builds to ninja

using ninja instead of make speed up build by 40 sec
This commit is contained in:
Ilya Shipitsin 2020-06-21 16:39:30 +05:00 committed by Willy Tarreau
parent f44d155515
commit aaa34ea622
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ env:
addons:
apt:
update: true
packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, clang-9, socat ]
packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, clang-9, socat, ninja-build ]
homebrew:
update: true
packages: [ socat ]

View File

@ -100,8 +100,8 @@ if [ ! -z ${BORINGSSL+x} ]; then
if [ -d build ]; then rm -rf build; fi
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=release -DBUILD_SHARED_LIBS=1 ..
make
cmake -GNinja -DCMAKE_BUILD_TYPE=release -DBUILD_SHARED_LIBS=1 ..
ninja
rm -rf ${SSL_LIB} || exit 0
rm -rf ${SSL_INC} || exit 0