1
1
# Specify version format
2
2
version : " {build}"
3
3
4
- # Operating system (build VM template)
5
- os : Windows Server 2012 R2
6
- # os: unstable
7
4
8
5
# build platform, i.e. Win32 (instead of x86), x64, Any CPU. This setting is optional.
9
6
platform :
@@ -12,9 +9,14 @@ platform:
12
9
13
10
# specify custom environment variables
14
11
environment :
15
- BOOST_ROOT : C:\Libraries\boost
16
- BOOST_LIBRARYDIR_WIN32 : C:\Libraries\boost\lib32-msvc-12.0
17
- BOOST_LIBRARYDIR_WIN64 : C:\Libraries\boost\lib64-msvc-12.0
12
+ MSVC_DEFAULT_OPTIONS : ON
13
+ BOOST_ROOT : C:\Libraries\boost_1_63_0
14
+ matrix :
15
+ - GENERATOR : " Visual Studio 12 2013"
16
+ os : Visual Studio 2015
17
+ - GENERATOR : " Visual Studio 14 2015"
18
+ os : Visual Studio 2015
19
+
18
20
# build Configuration, i.e. Debug, Release, etc.
19
21
configuration :
20
22
- Debug
@@ -30,10 +32,6 @@ clone_folder: C:\projects\mfast
30
32
31
33
# branches to build
32
34
branches :
33
- # whitelist
34
- # only:
35
- # - master
36
- # blacklist
37
35
except :
38
36
- gh-pages
39
37
- emdi
@@ -48,9 +46,8 @@ before_build:
48
46
- cmd : cd C:\projects\mfast
49
47
- cmd : md build
50
48
- cmd : cd build
51
- # We generate project files for Visual Studio 12 because the boost binaries installed on the test server are for Visual Studio 12.
52
- - cmd : if "%platform%"=="Win32" cmake -G "Visual Studio 12" -DCMAKE_BUILD_TYPE=%configuration% -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR_WIN32%" -DBoost_USE_STATIC_LIBS="ON" ..
53
- - cmd : if "%platform%"=="x64" cmake -G "Visual Studio 12 Win64" -DCMAKE_BUILD_TYPE=%configuration% -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR_WIN64%" -DBoost_USE_STATIC_LIBS="ON" ..
49
+ - cmd : if "%platform%"=="Win32" cmake -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%configuration% -DBOOST_ROOT="%BOOST_ROOT%" ..
50
+ - cmd : if "%platform%"=="x64" cmake -G "%GENERATOR% Win64" -DCMAKE_BUILD_TYPE=%configuration% -DBOOST_ROOT="%BOOST_ROOT%" ..
54
51
55
52
build :
56
53
project : C:\projects\mfast\build\mfast.sln
0 commit comments