forked from AcademySoftwareFoundation/OpenColorIO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
42 lines (37 loc) · 1009 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
branches:
only:
- /^RB-.*$/
version: '{branch}-{build}'
image: Visual Studio 2013
clone_folder: C:\source\ocio
test: auto
configuration:
- Release
platform:
- x64
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
CMAKE_PLATFORM: "Visual Studio 12 2013 Win64"
CMAKE_PREFIX_PATH: C:/Libraries/boost
BOOST_ROOT: 'C:\Libraries\boost'
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_PLATFORM: "Visual Studio 14 2015 Win64"
CMAKE_PREFIX_PATH: C:/Libraries/boost_1_60_0
BOOST_ROOT: 'C:\Libraries\boost_1_60_0'
install:
- cinstall: python
build_script:
- echo Running cmake...
- mkdir _build
- cd _build
- cmake
-G "%CMAKE_PLATFORM%"
-DCMAKE_INSTALL_PREFIX=..\_install
-DOCIO_USE_BOOST_PTR=ON
-DCMAKE_BUILD_TYPE=%CONFIGURATION%
..
- cmake --build . --target install --config %CONFIGURATION%
- cmake --build . --target MainTests --config %CONFIGURATION%
matrix:
fast_finish: true