-
Notifications
You must be signed in to change notification settings - Fork 37
/
appveyor.yml
40 lines (29 loc) · 1.26 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
image:
- Visual Studio 2017
configuration:
- Release
platform:
- x64
install:
# Python 3
- set PATH=C:\Python34-x64;C:\Python34-x64\Scripts;%PATH%
- pip install pipenv
- pipenv install --deploy
- git submodule update --init --recursive
before_build:
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
# - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
# - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
- pipenv run conan remote add -f bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- pipenv run conan remote add -f libnekit https://api.bintray.com/conan/zhuhaow/libnekit
- pipenv run conan install . -u -s cppstd=14 --build=missing || pipenv run conan install . -u -s cppstd=14 --build
build_script:
- cmake . -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/win.cmake -DCOVERAGE=OFF -DPLATFORM=win -A x64
- cmake --build . --config release
before_test:
# - choco install codecov
test_script:
- ctest
# - codecov -f .
cache:
- ~/.conan/