Fix Windows CI with appveyor (#110)

Fix windows CI with appveyor + minor tweaks.
This commit is contained in:
Benjamin Sergeant
2019-09-07 14:07:00 -07:00
committed by GitHub
parent 260a94d3b0
commit ae3856c10f
5 changed files with 28 additions and 10 deletions

View File

@ -2,13 +2,21 @@ image:
- Visual Studio 2017
install:
- ls -al
- cd C:\Tools\vcpkg
- git pull
- .\bootstrap-vcpkg.bat
- cd %APPVEYOR_BUILD_FOLDER%
- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- vcpkg install zlib:x64-windows
- vcpkg install mbedtls:x64-windows
- cd test
- mkdir build
- cd build
- cmake -G"NMake Makefiles" ..
- cmake -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DUSE_TLS=1 -G"NMake Makefiles" ..
- nmake
- ixwebsocket_unittest.exe
- cd ..
- build\ixwebsocket_unittest.exe
cache: c:\tools\vcpkg\installed\
build: off