-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathappveyor.yml
33 lines (28 loc) · 1.02 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
build: false
cache:
- C:\projects\deps\ninja
environment:
PYTHON: "C:\\Python37"
CONAN_CMAKE_GENERATOR: Ninja
CONAN_USERNAME: "theodelrieu"
CONAN_LOGIN_USERNAME: "theodelrieu"
CONAN_CHANNEL: "testing"
CONAN_UPLOAD: "https://api.bintray.com/conan/theodelrieu/conan-repo"
CONAN_STABLE_BRANCH_PATTERN: "release/*"
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CONAN_VISUAL_VERSIONS: 15
ARCH: x86_64
install:
- set PATH=%PATH%;%PYTHON%/Scripts/
- pip.exe install conan --upgrade
- pip.exe install conan_package_tools bincrafters_package_tools
- conan user # It creates the conan data directory
- set PATH=C:\projects\deps\ninja;%PATH%
- |-
if exist "C:\projects\deps\ninja\" set GETNINJA=rem
%GETNINJA% appveyor DownloadFile "https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip" -FileName ninja.zip
%GETNINJA% 7z x ninja.zip -oC:\projects\deps\ninja > nul
%GETNINJA% ninja --version
test_script:
- python build.py