2017-06-05 04:58:28 +08:00
cache :
- '%APPDATA%\downloads'
2017-01-21 01:42:30 +08:00
install :
2017-03-25 23:41:55 +08:00
# TODO(iphydf): Remove this when appveyor gets curl back, which it should have
# according to https://www.appveyor.com/docs/how-to/download-file/.
- choco install curl
- refreshenv
2017-06-05 04:58:28 +08:00
- if not exist %APPDATA%\downloads mkdir %APPDATA%\downloads
# libsodium
2017-02-20 08:54:49 +08:00
- mkdir libsodium && cd libsodium
2017-06-05 04:58:28 +08:00
- if not exist %APPDATA%\downloads\libsodium.zip curl -L https://download.libsodium.org/libsodium/releases/libsodium-1.0.12-msvc.zip -o %APPDATA%\downloads\libsodium.zip
- unzip %APPDATA%\downloads\libsodium.zip
2017-02-20 08:54:49 +08:00
- cd ..
2017-06-05 04:58:28 +08:00
# pthreads-win32
2017-02-20 08:54:49 +08:00
- mkdir pthreads-win32 && cd pthreads-win32
2017-06-05 04:58:28 +08:00
- if not exist %APPDATA%\downloads\pthreads.zip curl -L ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip -o %APPDATA%\downloads\pthreads.zip
- unzip %APPDATA%\downloads\pthreads.zip
2017-02-20 08:54:49 +08:00
- cd ..
2017-01-21 01:42:30 +08:00
before_build :
2017-02-21 06:33:50 +08:00
- cmake . -DBOOTSTRAP_DAEMON=OFF -DENABLE_SHARED=OFF -DBUILD_TOXAV=OFF
2017-01-21 01:42:30 +08:00
build :
project : INSTALL.vcxproj
2017-06-05 04:58:28 +08:00
# TODO(iphydf): Tests all segfault on Windows at the moment.
#test_script:
#- ctest -C Debug
2017-01-21 01:42:30 +08:00
branches :
only :
- master