-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
35 lines (28 loc) · 1.1 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
build: false
environment:
PYTHON: "C:\\Python37"
CONAN_REFERENCE: "boost/1.69"
CONAN_USERNAME: "user"
CONAN_LOGIN_USERNAME: "user"
CONAN_CHANNEL: "channel"
CXX_STANDARD: "14"
Python_INCLUDE_DIR: "C:\\Python37\\include"
Python_LIBRARY_RELEASE: "C:\\Python37\\libs\\python37.lib"
Python_EXECUTABLE: "C:\\Python37\\python.exe"
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CONAN_VISUAL_VERSIONS: 14
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CONAN_VISUAL_VERSIONS: 15
install:
- set PATH=%PATH%;%PYTHON%/Scripts/
- pip.exe install conan --upgrade
- pip.exe install conan_package_tools
- conan user # It creates the conan data directory
- conan profile new --detect default
- conan profile update env.Python_EXECUTABLE=%Python_EXECUTABLE% default
- conan profile update env.Python_INCLUDE_DIR=%Python_INCLUDE_DIR% default
- conan profile update env.Python_LIBRARY_RELEASE=%Python_LIBRARY_RELEASE% default
- conan profile update options.boost:python_version=3.7 default
test_script:
- python build.py