2
2
version : " {build}"
3
3
4
4
# Operating system (build VM template)
5
- # os: Windows Server 2012 R2
5
+ os : Visual Studio 2015
6
6
7
7
# build platform, i.e. Win32 (instead of x86), x64, Any CPU. This setting is optional.
8
8
platform :
9
9
- Win32
10
- - x64
10
+ # - x64 Disable build for x64 machine until x64 version of dart-prerequisites is ready
11
11
12
12
# specify custom environment variables
13
13
environment :
14
- BOOST_ROOT : c:\Libraries\boost
15
- BOOST_LIBRARYDIR : c:\Libraries\boost\stage\lib
14
+ MSVC_DEFAULT_OPTIONS : ON
15
+ BOOST_ROOT : C:\Libraries\boost
16
+ BOOST_LIBRARYDIR : C:\Libraries\boost\lib32-msvc-12.0
17
+ BUILD_EXAMPLES : OFF # don't build examples to not exceed allowed build time (40 min)
16
18
matrix :
17
19
- BUILD_CORE_ONLY : ON
18
- # Diabled since we don't have binaries of DART prerequisites build on Visual Studio 2013 (/MT) yet (See #270)
19
- # - BUILD_CORE_ONLY: OFF
20
+ - BUILD_CORE_ONLY : OFF
20
21
21
- # build Configuration , i.e. Debug, Release, etc.
22
+ # build configuration , i.e. Debug, Release, etc.
22
23
configuration :
23
24
- Debug
24
25
- Release
@@ -42,10 +43,8 @@ branches:
42
43
43
44
# scripts that run after cloning repository
44
45
install :
45
- - cmd : cd C:\projects
46
- - ps : Start-FileDownload 'http://www.prism.gatech.edu/~tkunz3/DART-Prerequisites.msi'
47
- - cmd : C:\projects\DART-Prerequisites.msi
48
- # - cmd: choco install doxygen.install
46
+ - ps : cd C:\projects\dart\ci
47
+ - ps : .\appveyor_install.ps1
49
48
50
49
# scripts to run before build
51
50
before_build :
@@ -55,11 +54,12 @@ before_build:
55
54
# We generate project files for Visual Studio 12 because the boost binaries installed on the test server are for Visual Studio 12.
56
55
- cmd : if "%platform%"=="Win32" set CMAKE_GENERATOR_NAME=Visual Studio 12
57
56
- cmd : if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 12 Win64
58
- - cmd : cmake -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE=%configuration% -DBUILD_CORE_ONLY="%BUILD_CORE_ONLY%" -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS="ON" -Durdfdom_DIR="%urdfdom_DIR%" -Durdfdom_headers_DIR="%urdfdom_headers_DIR%" ..
57
+ - cmd : cmake -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE=%configuration% -DBUILD_CORE_ONLY="%BUILD_CORE_ONLY%" -DDART_BUILD_EXAMPLES="%BUILD_EXAMPLES%" - DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS="ON" -Durdfdom_DIR="%urdfdom_DIR%" -Durdfdom_headers_DIR="%urdfdom_headers_DIR%" -DDART_MSVC_DEFAULT_OPTIONS="%MSVC_DEFAULT_OPTIONS %" ..
59
58
60
59
build :
61
- project : C:\projects\dart\build\dart.sln
62
-
60
+ project : C:\projects\dart\build\dart.sln # path to Visual Studio solution or project
61
+ parallel : true # enable MSBuild parallel builds
62
+ verbosity : quiet # MSBuild verbosity level (quiet|minimal|normal|detailed)
63
+
63
64
test_script :
64
- - cmd : ctest -C Release -VV
65
- - cmd : ctest -C Debug -VV
65
+ - cmd : ctest --build-config %configuration% --parallel 4 --output-on-failure
0 commit comments