Skip to content

Commit 4f0b4a3

Browse files
authored
Merge pull request #465 from abergeron/winci
Test the build on windows
2 parents fa507b3 + 345b3f3 commit 4f0b4a3

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.appveyor.yml

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

release.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Release process:
22
- Make sure you are on the proper release branch
33
- Update the version in setup.py
44
- Update the version in doc/conf.py
5+
- Update the version in .appveyor.yml
56
- Commit the changes with message "Changes for release X.Y.Z"
67
git commit -m "Changes for release X.Y.Z"
78
- Make a git tag

0 commit comments

Comments
 (0)