summary refs log tree commit diff
path: root/.ci
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-04 01:38:54 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-04 01:38:54 +0300
commit3bc8d791fb6537257ccaae883845485f4c8a1c84 (patch)
tree1f529faa7183036bc1607dce6b8bc974d00421a0 /.ci
parentFix regressions regarding UI resizing (diff)
downloadnheko-3bc8d791fb6537257ccaae883845485f4c8a1c84.tar.xz
Don't download dependencies during build
fixes #346
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/script.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/.ci/script.sh b/.ci/script.sh
index 377f23e1..6d873414 100755
--- a/.ci/script.sh
+++ b/.ci/script.sh
@@ -11,13 +11,15 @@ if [ $TRAVIS_OS_NAME == osx ]; then
 fi
 
 # Build & install dependencies
-cmake -Hdeps -B.deps \
+cmake -GNinja -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 -GNinja -H. -Bbuild \
+    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+    -DCMAKE_INSTALL_PREFIX=.deps/usr
 cmake --build build
 
 if [ $TRAVIS_OS_NAME == osx ]; then