forked from appleseedhq/appleseed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
124 lines (84 loc) · 4.04 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: 1.0.{build}
branches:
only:
- master
clone_folder: C:\projects\appleseed
image:
- Visual Studio 2017
- Visual Studio 2015
- Visual Studio 2013
configuration: Debug
platform: x64
install:
- cmd: >-
appveyor DownloadFile https://github.com/appleseedhq/appleseed-deps/releases/download/v17/appleseed-deps-stage-win64-vs141-v17.zip
7z x appleseed-deps-stage-win64-vs141-v17.zip -oappleseed-deps-stage-win64-vs141-v17
rm appleseed-deps-stage-win64-vs141-v17.zip
before_build:
- cmd: >-
mkdir build
cd build
cmake -G "Visual Studio 15 2017 Win64" -DWITH_DISNEY_MATERIAL=ON -DWITH_STUDIO=OFF -DUSE_SSE42=ON -DBOOST_ROOT=C:\Libraries\boost_1_66_0 -DPYTHON_INCLUDE_DIR=C:\Python27-x64\include -DPYTHON_LIBRARY=C:\Python27-x64\libs\python27.lib -DAPPLESEED_DEPS_STAGE_DIR=C:\projects\appleseed\appleseed-deps-stage-win64-vs141-v17\stage\vc141 ..
for:
-
matrix:
only:
- image: Visual Studio 2015
install:
- cmd: >-
appveyor DownloadFile https://github.com/appleseedhq/appleseed-deps/releases/download/v17/appleseed-deps-stage-win64-vs140-v17.zip
appveyor DownloadFile https://github.com/appleseedhq/appveyor-deps/releases/download/v1/boost_1_55_0_2015_py35.zip
7z x appleseed-deps-stage-win64-vs140-v17.zip -oappleseed-deps-stage-win64-vs140-v17
7z x boost_1_55_0_2015_py35.zip
rm appleseed-deps-stage-win64-vs140-v17.zip
rm boost_1_55_0_2015_py35.zip
before_build:
- cmd: >-
mkdir build
cd build
cmake -G "Visual Studio 14 2015 Win64" -DWITH_DISNEY_MATERIAL=ON -DWITH_STUDIO=OFF -DUSE_SSE42=ON -DBOOST_ROOT=C:\projects\appleseed\boost_1_55_0_2015_py35 -DPYTHON_INCLUDE_DIR=C:\Python27-x64\include -DPYTHON_LIBRARY=C:\Python27-x64\libs\python27.lib -DAPPLESEED_DEPS_STAGE_DIR=C:\projects\appleseed\appleseed-deps-stage-win64-vs140-v17\stage\vc14 ..
test_script:
- cmd: >-
cd C:\projects\appleseed\sandbox\bin\v140\Debug
appleseed.cli --run-unit-tests --verbose-unit-tests
set PYTHONPATH=C:\projects\appleseed\sandbox\lib\v140\Debug\python2.7;%PYTHONPATH%
set PATH=C:\projects\appleseed\sandbox\bin\v140\Debug;%PATH%
cd C:\projects\appleseed\sandbox\lib\v140\Debug\python2.7\appleseed
py -2 runtests.py
-
matrix:
only:
- image: Visual Studio 2013
install:
- cmd: >-
appveyor DownloadFile https://github.com/appleseedhq/appleseed-deps/releases/download/v17/appleseed-deps-stage-win64-vs110-v17.zip
appveyor DownloadFile https://github.com/appleseedhq/appveyor-deps/releases/download/v1/boost_1_55_0_vc11.zip
7z x appleseed-deps-stage-win64-vs110-v17.zip -oappleseed-deps-stage-win64-vs110-v17
7z x boost_1_55_0_vc11.zip
rm appleseed-deps-stage-win64-vs110-v17.zip
rm boost_1_55_0_vc11.zip
before_build:
- cmd: >-
mkdir build
cd build
cmake -G "Visual Studio 11 2012 Win64" -DWITH_DISNEY_MATERIAL=ON -DWITH_STUDIO=OFF -DUSE_SSE42=ON -DBOOST_ROOT=C:\projects\appleseed\boost_1_55_0 -DPYTHON_INCLUDE_DIR=C:\Python27-x64\include -DPYTHON_LIBRARY=C:\Python27-x64\libs\python27.lib -DAPPLESEED_DEPS_STAGE_DIR=C:\projects\appleseed\appleseed-deps-stage-win64-vs110-v17\stage\vc11 ..
test_script:
- cmd: >-
cd C:\projects\appleseed\sandbox\bin\v110\Debug
appleseed.cli --run-unit-tests --verbose-unit-tests
set PYTHONPATH=C:\projects\appleseed\sandbox\lib\v110\Debug\python2.7;%PYTHONPATH%
set PATH=C:\projects\appleseed\sandbox\bin\v110\Debug;%PATH%
cd C:\projects\appleseed\sandbox\lib\v110\Debug\python2.7\appleseed
py -2 runtests.py
build:
project: build\appleseed.sln
parallel: true
verbosity: normal
test_script:
- cmd: >-
cd C:\projects\appleseed\sandbox\bin\v141\Debug
appleseed.cli --run-unit-tests --verbose-unit-tests
set PYTHONPATH=C:\projects\appleseed\sandbox\lib\v141\Debug\python2.7;%PYTHONPATH%
set PATH=C:\projects\appleseed\sandbox\bin\v141\Debug;%PATH%
cd C:\projects\appleseed\sandbox\lib\v141\Debug\python2.7\appleseed
py -2 runtests.py