summary refs log tree commit diff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-06-04 13:54:51 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-06-04 13:54:51 +0300
commit0a9d95dfc9ef2c7e822257cc7b256cdd24d4a0d3 (patch)
treec708e27bb7b74e3571dd6c082847fa1d7a3e587a /appveyor.yml
parentBump version to v0.4.3 (diff)
downloadnheko-0a9d95dfc9ef2c7e822257cc7b256cdd24d4a0d3.tar.xz
Include mtxclient in the build
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml25
1 files changed, 24 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index adbad603..0cd819ab 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -15,7 +15,19 @@ install:
     - set QT_DIR=C:\Qt\5.10.1\msvc2017_64
     - set PATH=%PATH%;%QT_DIR%\bin;C:\MinGW\bin
     - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
-    - vcpkg install lmdb:%PLATFORM%-windows
+    - vcpkg install
+            boost-asio:%PLATFORM%-windows
+            boost-beast:%PLATFORM%-windows
+            boost-iostreams:%PLATFORM%-windows
+            boost-random:%PLATFORM%-windows
+            boost-signals2:%PLATFORM%-windows
+            boost-system:%PLATFORM%-windows
+            boost-thread:%PLATFORM%-windows
+            libsodium:%PLATFORM%-windows
+            lmdb:%PLATFORM%-windows
+            openssl:%PLATFORM%-windows
+            spdlog:%PLATFORM%-windows
+            zlib:%PLATFORM%-windows
 
 build_script:
     # VERSION format:     branch-master/branch-1.2
@@ -35,6 +47,17 @@ build_script:
     - echo %VERSION%
     - echo %INSTVERSION%
     - echo %DATE%
+
+    # Build & install the dependencies
+    - cmake -G "Visual Studio 15 2017 Win64" -Hdeps -B.deps
+        -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake
+        -DCMAKE_BUILD_TYPE=Release
+        -DUSE_BUNDLED_BOOST=OFF
+        -DUSE_BUNDLED_SPDLOG=OFF
+        -DUSE_BUNDLED_GTEST=OFF
+    - cmake --build .deps --config Release
+
+    # Build nheko
     - cmake -G "Visual Studio 15 2017 Win64" -H. -Bbuild
       -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake
       -DCMAKE_BUILD_TYPE=Release