-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy path.appveyor.yml
45 lines (35 loc) · 984 Bytes
/
.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
40
41
42
43
44
45
version: '0.7.0.{build}'
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2015
init:
- git config --global core.autocrlf input
- cmd: cmake --version
- cmd: msbuild /version
platform:
- x64
clone_folder: C:\projects\libgpuarray
configuration:
- Release
- Debug
environment:
matrix:
- PYTHON: "C:\\Python27"
VS_PATH: "C:\\Users\\appveyor\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0"
- PYTHON: "C:\\Python35"
VS_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC"
install:
- python -m pip install mako cython
build_script:
- echo "Python:" "%PYTHON%"
- echo "Config:" "%CONFIGURATION%"
- echo "VS path:" "%VS_PATH%"
- cd "%VS_PATH%"
- vcvarsall x64
- set
- cd C:\projects\libgpuarray
- md %CONFIGURATION%
- cd %CONFIGURATION%
- cmake .. -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "NMake Makefiles"
- cmake --build . --config %CONFIGURATION%
build: script