diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-06-04 16:07:47 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-06-04 16:07:47 +0300 |
commit | 1366b01790631ba1134a4dfd03d939b4b40360b8 (patch) | |
tree | 28131edb04a563021bd1a3d445ec3be7c4ae6602 /.ci/script.sh | |
parent | Include mtxclient in the build (diff) | |
download | nheko-1366b01790631ba1134a4dfd03d939b4b40360b8.tar.xz |
Install missing dependencies in travis-ci/appveyor
Diffstat (limited to '.ci/script.sh')
-rwxr-xr-x | .ci/script.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.ci/script.sh b/.ci/script.sh index a954eba6..f5966349 100755 --- a/.ci/script.sh +++ b/.ci/script.sh @@ -10,7 +10,16 @@ if [ $TRAVIS_OS_NAME == osx ]; then export CMAKE_PREFIX_PATH=/usr/local/opt/qt5 fi -make ci +# Build & install dependencies +mkdir -p .deps/usr/{lib,include}/ +cmake -Hdeps -B.deps \ + -DUSE_BUNDLED_BOOST=${USE_BUNDLED_BOOST} \ + -DUSE_BUNDLED_SPDLOG=${USE_BUNDLED_SPDLOG} +cmake --build .deps + +# Build nheko +cmake -GNinja -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo +cmake --build build if [ $TRAVIS_OS_NAME == osx ]; then make lint; |