Skip to content

Commit cdeab7b

Browse files
committed
Make the build happen on appveyor.
1 parent e15d70b commit cdeab7b

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.appveyor.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
version: '0.6.7.{build}'
2+
3+
image: Visual Studio 2015
4+
5+
init:
6+
- git config --global core.autocrlf input
7+
- cmd: cmake --version
8+
- cmd: msbuild /version
9+
10+
platform:
11+
- x64
12+
13+
clone_folder: C:\projects\libgpuarray
14+
15+
configuration:
16+
- Release
17+
- Debug
18+
19+
environment:
20+
matrix:
21+
- PYTHON: "C:\\Python27"
22+
VS_PATH: "C:\\Users\\appveyor\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0"
23+
- PYTHON: "C:\\Python35"
24+
VS_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC"
25+
26+
build_script:
27+
- echo "Python:" "%PYTHON%"
28+
- echo "Config:" "%CONFIGURATION%"
29+
- echo "VS path:" "%VS_PATH%"
30+
- cd "%VS_PATH%"
31+
- vcvarsall x64
32+
- set
33+
- cd C:\projects\libgpuarray
34+
- md %CONFIGURATION%
35+
- cd %CONFIGURATION%
36+
- cmake .. -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "NMake Makefiles"
37+
- cmake --build . --config %CONFIGURATION%
38+
39+
build: script

0 commit comments

Comments
 (0)