toxcore/appveyor.yml

35 lines
1.1 KiB
YAML
Raw Normal View History

cache:
- '%APPDATA%\downloads'
install:
# 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
- if not exist %APPDATA%\downloads mkdir %APPDATA%\downloads
2018-02-11 20:38:40 +08:00
- cd third_party
# libsodium
2017-02-20 08:54:49 +08:00
- mkdir libsodium && cd libsodium
- 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 ..
# pthreads-win32
2017-02-20 08:54:49 +08:00
- mkdir pthreads-win32 && cd pthreads-win32
- 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
2018-02-11 20:38:40 +08:00
- cd ../..
before_build:
- cmake . -DBOOTSTRAP_DAEMON=OFF -DENABLE_SHARED=OFF -DBUILD_TOXAV=OFF
build:
project: INSTALL.vcxproj
# TODO(iphydf): Tests all segfault on Windows at the moment.
#test_script:
#- ctest -C Debug
branches:
only:
- master