|
| 1 | +version: 1.0.{build} |
| 2 | +branches: |
| 3 | + only: |
| 4 | + - master |
| 5 | + |
| 6 | +image: Visual Studio 2015 |
| 7 | + |
| 8 | +environment: |
| 9 | + matrix: |
| 10 | + - platform: x64 |
| 11 | + ARCH: x64-msvc9 |
| 12 | + configuration: Release |
| 13 | + CMAKE_GENERATOR: "Visual Studio 9 2008 Win64" |
| 14 | + MSVCVERSION: v90 |
| 15 | + MSVCYEAR: "vs2008" |
| 16 | + MSVCABR: "9" |
| 17 | + VC_VER: 9.0 |
| 18 | + PYTHONPATH: c:\Python27-x64\ |
| 19 | + PYTHONPATHOMNI: "/cygdrive/c/Python27-x64/python" |
| 20 | + PY_VER: 27 |
| 21 | + BOOST_ROOT: C:/local/boost_1_64_0 |
| 22 | + BOOST_LIBS: C:/local/boost_1_64_0/lib64-msvc-9.0 |
| 23 | + ZMQ_BASE: C:\projects\libzmq |
| 24 | + IDL_BASE: C:\projects\tangoidl |
| 25 | + IDL_BIN: C:\Program Files\tangoidl |
| 26 | + OMNI_BASE: C:\projects\omniORB-4.2.1 |
| 27 | + BOOST_CFG: >- |
| 28 | + using python : 2.7 : c:/python27-x64/python.exe : c:/python27-x64/include : c:/python27-x64/libs ; |
| 29 | + - platform: win32 |
| 30 | + ARCH: win32-msvc10 |
| 31 | + configuration: Release |
| 32 | + CMAKE_GENERATOR: "Visual Studio 10 2010" |
| 33 | + MSVCVERSION: v100 |
| 34 | + MSVCYEAR: "vs2010" |
| 35 | + MSVCABR: "10" |
| 36 | + VC_VER: 10.0 |
| 37 | + PYTHONPATH: c:\Python34\ |
| 38 | + PYTHONPATHOMNI: "/cygdrive/c/Python34/python" |
| 39 | + PY_VER: 34 |
| 40 | + BOOST_ROOT: C:/local/boost_1_64_0 |
| 41 | + BOOST_LIBS: C:/local/boost_1_64_0/lib32-msvc-10.0 |
| 42 | + ZMQ_BASE: C:\projects\libzmq |
| 43 | + IDL_BASE: C:\projects\tangoidl |
| 44 | + IDL_BIN: C:\Program Files (x86)\tangoidl |
| 45 | + OMNI_BASE: C:\projects\omniORB-4.2.1 |
| 46 | + BOOST_CFG: >- |
| 47 | + using python : 3.4 : c:/python34/python.exe : c:/python34/include : c:/python34/libs ; |
| 48 | + - platform: win32 |
| 49 | + ARCH: win32-msvc9 |
| 50 | + configuration: Release |
| 51 | + CMAKE_GENERATOR: "Visual Studio 9 2008" |
| 52 | + MSVCVERSION: v90 |
| 53 | + MSVCYEAR: "vs2008" |
| 54 | + MSVCABR: "9" |
| 55 | + VC_VER: 9.0 |
| 56 | + PYTHONPATH: c:\Python27\ |
| 57 | + PYTHONPATHOMNI: "/cygdrive/c/Python27/python" |
| 58 | + PY_VER: 27 |
| 59 | + BOOST_ROOT: C:/local/boost_1_64_0 |
| 60 | + BOOST_LIBS: C:/local/boost_1_64_0/lib32-msvc-9.0 |
| 61 | + ZMQ_BASE: C:\projects\libzmq |
| 62 | + IDL_BASE: C:\projects\tangoidl |
| 63 | + IDL_BIN: C:\Program Files (x86)\tangoidl |
| 64 | + OMNI_BASE: C:\projects\omniORB-4.2.1 |
| 65 | + BOOST_CFG: >- |
| 66 | + using python : 2.7 : c:/python27/python.exe : c:/python27/include : c:/python27/libs ; |
| 67 | + - platform: x64 |
| 68 | + ARCH: x64-msvc10 |
| 69 | + configuration: Release |
| 70 | + CMAKE_GENERATOR: "Visual Studio 10 2010 Win64" |
| 71 | + MSVCVERSION: v100 |
| 72 | + MSVCYEAR: "vs2010" |
| 73 | + MSVCABR: "10" |
| 74 | + VC_VER: 10.0 |
| 75 | + PYTHONPATH: c:\Python34-x64\ |
| 76 | + PYTHONPATHOMNI: "/cygdrive/c/Python34-x64/python" |
| 77 | + PY_VER: 34 |
| 78 | + BOOST_ROOT: C:/local/boost_1_64_0 |
| 79 | + BOOST_LIBS: C:/local/boost_1_64_0/lib64-msvc-10.0 |
| 80 | + ZMQ_BASE: C:\projects\libzmq |
| 81 | + IDL_BASE: C:\projects\tangoidl |
| 82 | + IDL_BIN: C:\Program Files\tangoidl |
| 83 | + OMNI_BASE: C:\projects\omniORB-4.2.1 |
| 84 | + BOOST_CFG: >- |
| 85 | + using python : 3.4 : c:/python34-x64/python.exe : c:/python34-x64/include : c:/python34-x64/libs ; |
| 86 | + - platform: x64 |
| 87 | + ARCH: x64-msvc12 |
| 88 | + configuration: Release |
| 89 | + CMAKE_GENERATOR: "Visual Studio 12 2013 Win64" |
| 90 | + MSVCVERSION: v120 |
| 91 | + MSVCYEAR: "vs2013" |
| 92 | + MSVCABR: "13" |
| 93 | + VC_VER: 13.0 |
| 94 | + PYTHONPATH: c:\Python34-x64\ |
| 95 | + PYTHONPATHOMNI: "/cygdrive/c/Python34-x64/python" |
| 96 | + PY_VER: 34 |
| 97 | + BOOST_ROOT: C:/local/boost_1_64_0 |
| 98 | + BOOST_LIBS: C:/local/boost_1_64_0/lib64-msvc-12.0 |
| 99 | + ZMQ_BASE: C:\projects\libzmq |
| 100 | + IDL_BASE: C:\projects\tangoidl |
| 101 | + IDL_BIN: C:\Program Files\tangoidl |
| 102 | + OMNI_BASE: C:\projects\omniORB-4.2.1 |
| 103 | + BOOST_CFG: >- |
| 104 | + using python : 3.4 : c:/python34-x64/python.exe : c:/python34-x64/include : c:/python34-x64/libs ; |
| 105 | + - platform: x64 |
| 106 | + ARCH: x64-msvc14 |
| 107 | + configuration: Release |
| 108 | + CMAKE_GENERATOR: "Visual Studio 14 2015 Win64" |
| 109 | + MSVCVERSION: v140 |
| 110 | + MSVCYEAR: "vs2015" |
| 111 | + MSVCABR: "14" |
| 112 | + VC_VER: 14.0 |
| 113 | + PYTHONPATH: c:\Python35-x64\ |
| 114 | + PYTHONPATHOMNI: "/cygdrive/c/Python35-x64/python" |
| 115 | + PY_VER: 35 |
| 116 | + BOOST_ROOT: C:/local/boost_1_64_0 |
| 117 | + BOOST_LIBS: C:/local/boost_1_64_0/lib64-msvc-14.0 |
| 118 | + ZMQ_BASE: C:\projects\libzmq |
| 119 | + IDL_BASE: C:\projects\tangoidl |
| 120 | + IDL_BIN: C:\Program Files\tangoidl |
| 121 | + OMNI_BASE: C:\projects\omniORB-4.2.1 |
| 122 | + BOOST_CFG: >- |
| 123 | + using python : 3.5 : c:/python35-x64/python.exe : c:/python35-x64/include : c:/python35-x64/libs ; |
| 124 | + - platform: x64 |
| 125 | + ARCH: x64-msvc14 |
| 126 | + configuration: Release |
| 127 | + CMAKE_GENERATOR: "Visual Studio 14 2015 Win64" |
| 128 | + MSVCVERSION: v140 |
| 129 | + MSVCYEAR: "vs2015" |
| 130 | + MSVCABR: "14" |
| 131 | + VC_VER: 14.0 |
| 132 | + PYTHONPATH: c:\Python36-x64\ |
| 133 | + PYTHONPATHOMNI: "/cygdrive/c/Python36-x64/python" |
| 134 | + PY_VER: 36 |
| 135 | + BOOST_ROOT: C:/local/boost_1_64_0 |
| 136 | + BOOST_LIBS: C:/local/boost_1_64_0/lib64-msvc-14.0 |
| 137 | + ZMQ_BASE: C:\projects\libzmq |
| 138 | + IDL_BASE: C:\projects\tangoidl |
| 139 | + IDL_BIN: C:\Program Files\tangoidl |
| 140 | + OMNI_BASE: C:\projects\omniORB-4.2.1 |
| 141 | + BOOST_CFG: >- |
| 142 | + using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ; |
| 143 | +init: |
| 144 | + # go to hell Xamarin (see http://help.appveyor.com/discussions/problems/4569) |
| 145 | + - del "C:\Program Files (x86)\MSBuild\4.0\Microsoft.Common.Targets\ImportAfter\Xamarin.Common.targets" |
| 146 | + - del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets" |
| 147 | + - del "C:\Program Files (x86)\MSBuild\12.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets" |
| 148 | + #RDP from start |
| 149 | + - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
| 150 | + # Boost |
| 151 | + - cmd: cd "C:\projects\" |
| 152 | + - cmd: md boost_build |
| 153 | + - cmd: cd "C:\projects\" |
| 154 | + - appveyor DownloadFile https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.zip |
| 155 | + - cmd: 7z -y x boost_1_64_0.zip -oC:\projects\boost_build\ |
| 156 | + #Pthread-Win32 |
| 157 | + - cmd: cd "C:\projects\" |
| 158 | + - cmd: md pthreads-win32 |
| 159 | + - cmd: cd "C:\projects\" |
| 160 | + - appveyor DownloadFile "http://www.mirrorservice.org/sites/sources.redhat.com/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip" |
| 161 | + - cmd: 7z -y x pthreads-w32-2-9-1-release.zip -oC:\projects\pthreads-win32\ |
| 162 | + #VS2008 patch |
| 163 | + - cmd: cd "C:\projects\" |
| 164 | + - cmd: appveyor DownloadFile https://github.com/menpo/condaci/raw/master/vs2008_patch.zip |
| 165 | + - cmd: 7z -y x vs2008_patch.zip -oC:\projects\vs2008_patch\ |
| 166 | + - cmd: if %ARCH%==x64-msvc9 call C:\projects\vs2008_patch\setup_x64.bat |
| 167 | + - cmd: if %ARCH%==x32-msvc9 call C:\projects\vs2008_patch\setup_x86.bat |
| 168 | + - cmd: if %ARCH%==x64-msvc9 copy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat" "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat" |
| 169 | + # adding a boost-config.jam file |
| 170 | + - cmd: echo %BOOST_CFG% >> %HOMEDRIVE%%HOMEPATH%\user-config.jam |
| 171 | + - cmd: type %HOMEDRIVE%%HOMEPATH%\user-config.jam |
| 172 | + - cmd: cd "C:\projects\boost-ci" |
| 173 | + |
| 174 | +install: |
| 175 | + # Setting Visual Compiler |
| 176 | + - cmd: cd "C:\projects\" |
| 177 | + - cmd: if %ARCH%==win32-msvc9 call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" |
| 178 | + - cmd: if %ARCH%==win32-msvc9 set path=C:\Windows\Microsoft.NET\Framework\v4.0.30319;%path% |
| 179 | + - cmd: if %ARCH%==x64-msvc9 call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat" |
| 180 | + - cmd: if %ARCH%==win32-msvc10 call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" |
| 181 | + - cmd: if %ARCH%==win32-msvc10 set path=C:\Windows\Microsoft.NET\Framework\v4.0.30319;%path% |
| 182 | + - cmd: if %ARCH%==x64-msvc10 call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 |
| 183 | + - cmd: if %ARCH%==x64-msvc12 call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x64 |
| 184 | + - cmd: if %ARCH%==x64-msvc14 call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 |
| 185 | + - cmd: echo "Generator='%CMAKE_GENERATOR%'" |
| 186 | + - cmd: echo "Platform='%Platform%'" |
| 187 | + - cmd: set PYTHONPATH=%PYTHONPATH% |
| 188 | + # building bootstrap |
| 189 | + - cmd: cd C:/projects/boost_build/boost_1_64_0 |
| 190 | + - cmd: C:/projects/boost_build/boost_1_64_0/bootstrap.bat |
| 191 | + |
| 192 | +clone_folder: C:\projects\boost-ci |
| 193 | + |
| 194 | +build: |
| 195 | + parallel: true |
| 196 | + verbosity: minimal |
| 197 | + |
| 198 | +build_script: |
| 199 | + - cmd: cd C:/projects/boost_build/boost_1_64_0 |
| 200 | + - cmd: if %ARCH%==win32-msvc9 b2 toolset=msvc-9.0 address-model=32 install link=static runtime-link=static,shared |
| 201 | + - cmd: if %ARCH%==x64-msvc9 b2 toolset=msvc-9.0 address-model=64 install link=static runtime-link=static,shared |
| 202 | + - cmd: if %ARCH%==win32-msvc10 b2 toolset=msvc-10.0 address-model=32 install link=static runtime-link=static,shared |
| 203 | + - cmd: if %ARCH%==x64-msvc10 b2 toolset=msvc-10.0 address-model=64 install link=static runtime-link=static,shared |
| 204 | + - cmd: if %ARCH%==x64-msvc12 b2 toolset=msvc-12.0 address-model=64 install link=static runtime-link=static,shared |
| 205 | + - cmd: if %ARCH%==x64-msvc14 b2 toolset=msvc-14.0 address-model=64 install link=static runtime-link=static,shared |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | +after_build: |
| 210 | + - cmd: cd C:/boost |
| 211 | + - cmd: dir |
| 212 | + - 7z a boost-1.64_%ARCH%_%PY_VER%.zip C:/boost |
| 213 | + - move boost-1.64_%ARCH%_%PY_VER%.zip c:/projects/boost-ci/ |
| 214 | + |
| 215 | + |
| 216 | +on_finish: |
| 217 | + #RDP for finish |
| 218 | + #- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
| 219 | + |
| 220 | +artifacts: |
| 221 | + - path: ./*.zip |
0 commit comments