-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
32 lines (27 loc) · 783 Bytes
/
appveyor.yml
File metadata and controls
32 lines (27 loc) · 783 Bytes
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
version: 1.0.{build}
platform:
- x64
environment:
PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.2"
PYTHON_ARCH: "64"
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_GENERATOR: -G"Visual Studio 14 2015 Win64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_GENERATOR: -G"Visual Studio 15 2017 Win64"
install:
- echo "Downloading conan..."
- set PATH=%PATH%;%PYTHON%/Scripts/
- python -m pip install --upgrade pip
- pip3.exe install conan
- conan user
- conan --version
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
build_script:
- mkdir build
- cd build
- conan install ..
- cmake %CMAKE_GENERATOR% ../
- cmake --build . --config Release
- ctest -C Release