forked from AcademySoftwareFoundation/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
34 lines (30 loc) · 990 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
version: "{build}"
image: Visual Studio 2017
clone_folder: C:\Projects\MaterialX
environment:
matrix:
- GENERATOR: "Visual Studio 14 2015"
ARCH: Win32
PYTHON: C:\Python27
- GENERATOR: "Visual Studio 14 2015"
ARCH: x64
PYTHON: C:\Python27-x64
- GENERATOR: "Visual Studio 15 2017"
ARCH: Win32
PYTHON: C:\Python36
- GENERATOR: "Visual Studio 15 2017"
ARCH: x64
PYTHON: C:\Python37-x64
configuration:
- Release
install:
- set PATH=%PYTHON%;%PATH%
- git submodule update --init --recursive
build_script:
- mkdir build
- cd build
- cmake -DMATERIALX_BUILD_PYTHON=ON -DMATERIALX_BUILD_VIEWER=ON -DMATERIALX_WARNINGS_AS_ERRORS=ON -G "%GENERATOR%" -A "%ARCH%" ..
- cmake --build . --target install --config %CONFIGURATION%
- ctest -VV --output-on-failure --build-config %CONFIGURATION%
- cmake -E chdir ../python/MaterialXTest python main.py
- cmake -E chdir ../python/MaterialXTest python genshader.py