diff options
author | Sergei Nikulov <sergey.nikulov@gmail.com> | 2020-10-14 13:19:35 +0300 |
---|---|---|
committer | Sergei Nikulov <snikulov@users.noreply.github.com> | 2020-11-04 12:44:00 +0300 |
commit | e41ba40debc78d33168855eb4f3aab46b078b53e (patch) | |
tree | 451d1d69d806c4cb62025fc3aa143c4aaf76df1f /.travis.yml | |
parent | 8bdee98187bc3e4c404387b65981a1ee6be14885 (diff) | |
download | curl-e41ba40debc78d33168855eb4f3aab46b078b53e.tar.gz |
travis: use ninja-build for CMake builds
Added package ninja-build to environment
Use ninja to speed up CMake builds
Closes #6077
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 5609c26bc..84e555221 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,7 @@ addons: - libidn2-dev - gnutls-bin - python-impacket + - ninja-build jobs: include: @@ -79,6 +80,7 @@ jobs: - gnutls-bin # The above list is common_packages minus impacket. - libssh-dev + - ninja-build - env: - T=normal C="--enable-ares" - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" @@ -246,7 +248,7 @@ jobs: - T=iconv - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" - env: - - T=cmake BORINGSSL=yes QUICHE=yes C="-DUSE_QUICHE=1 -DOPENSSL_ROOT_DIR=$HOME/boringssl -DCURL_BROTLI=1 -DCURL_ZSTD=1" + - T=cmake BORINGSSL=yes QUICHE=yes C="-GNinja -DUSE_QUICHE=1 -DOPENSSL_ROOT_DIR=$HOME/boringssl -DCURL_BROTLI=1 -DCURL_ZSTD=1" - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" - PKG_CONFIG_PATH="$HOME/quiche/target/release" before_install: @@ -260,7 +262,7 @@ jobs: - libbrotli-dev - libzstd-dev - env: - - T=cmake NGTCP2=yes C="-DUSE_NGTCP2=ON -DCURL_BROTLI=1 -DCURL_ZSTD=1" + - T=cmake NGTCP2=yes C="-GNinja -DUSE_NGTCP2=ON -DCURL_BROTLI=1 -DCURL_ZSTD=1" - *clang - PKG_CONFIG_PATH="$HOME/ngbuild/lib/pkgconfig" compiler: clang |