CI: travis-ci: switch BoringSSL builds to ninja
using ninja instead of make speed up build by 40 sec
This commit is contained in:
parent
f44d155515
commit
aaa34ea622
|
@ -21,7 +21,7 @@ env:
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
update: true
|
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:
|
homebrew:
|
||||||
update: true
|
update: true
|
||||||
packages: [ socat ]
|
packages: [ socat ]
|
||||||
|
|
|
@ -100,8 +100,8 @@ if [ ! -z ${BORINGSSL+x} ]; then
|
||||||
if [ -d build ]; then rm -rf build; fi
|
if [ -d build ]; then rm -rf build; fi
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_BUILD_TYPE=release -DBUILD_SHARED_LIBS=1 ..
|
cmake -GNinja -DCMAKE_BUILD_TYPE=release -DBUILD_SHARED_LIBS=1 ..
|
||||||
make
|
ninja
|
||||||
|
|
||||||
rm -rf ${SSL_LIB} || exit 0
|
rm -rf ${SSL_LIB} || exit 0
|
||||||
rm -rf ${SSL_INC} || exit 0
|
rm -rf ${SSL_INC} || exit 0
|
||||||
|
|
Loading…
Reference in New Issue