Remove unused include
[geos.git] / appveyor.yml
blobd37d68a247faae142e2b7c2d3dcd3ac17fce4248
1 version: 1.0.{build}\r
2 \r
3 os: Visual Studio 2015\r
4 \r
5 platform: x64\r
6 \r
7 configuration: Release\r
8 \r
9 branches:\r
10   only:\r
11     - svn-trunk\r
12     - svn-3.6\r
13     - svn-3.5\r
15 shallow_clone: true\r
16 clone_depth: 5\r
18 matrix:\r
19   fast_finish: false # set this flag to immediately finish build once one of the jobs fails.\r
21 environment:\r
22   matrix:\r
23     - PLATFORM: x86\r
24       BUILDER: CMake\r
25       GENERATOR: "Visual Studio 14 2015"\r
26     - PLATFORM: x64\r
27       BUILDER: CMake\r
28       GENERATOR: "Visual Studio 14 2015 Win64"\r
29     - PLATFORM: x86\r
30       BUILDER: CMake\r
31       GENERATOR: "NMake Makefiles"\r
32     - PLATFORM: x64\r
33       BUILDER: CMake\r
34       GENERATOR: "NMake Makefiles"\r
35     - PLATFORM: x86\r
36       BUILDER: NMake\r
37       GENERATOR: "NMake Makefiles"\r
39 init:\r
40   - ps: 'Write-Host "Building GEOS branch: $env:APPVEYOR_REPO_BRANCH" -ForegroundColor Magenta'\r
41   #- ps: |\r
42   #  Write-Host "Build worker environment variables:" -ForegroundColor Magenta\r
43   #      Get-ChildItem Env: | %{"{0}={1}" -f $_.Name,$_.Value}\r
44   - if "%GENERATOR%"=="NMake Makefiles" if "%PLATFORM%"=="x86" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86\r
45   - if "%GENERATOR%"=="NMake Makefiles" if "%PLATFORM%"=="x64" "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64\r
46   - if "%GENERATOR%"=="NMake Makefiles" if "%PLATFORM%"=="x64" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64\r
48 before_build:\r
49   - ps: 'Write-Host "Running $env:BUILDER with $env:GENERATOR" -ForegroundColor Magenta'\r
50   - if "%BUILDER%"=="CMake" cmake.exe -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% %APPVEYOR_BUILD_FOLDER%\r
51   - if "%BUILDER%"=="NMake" .\autogen.bat\r
53 build_script:\r
54   - ps: 'Write-Host "Running $env:BUILDER:" -ForegroundColor Magenta'\r
55   - if "%BUILDER%"=="CMake" cmake --build . --config %CONFIGURATION%\r
56   - if "%BUILDER%"=="NMake" nmake /f makefile.vc\r
58 test_script:\r
59   - ps: 'Write-Host "Running tests:" -ForegroundColor Magenta'\r
60   - if "%BUILDER%"=="CMake" ctest -V --output-on-failure -C %CONFIGURATION%\r
61   - if "%BUILDER%"=="NMake" echo *** NMake does NOT build tests ***\r
63 # If you need to debug AppVeyor session (https://www.appveyor.com/docs/how-to/rdp-to-build-worker), then:\r
64 # 1. Uncomment the on_finish section below:\r
65 #on_finish:\r
66 #  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))\r
67 # 2. Add this line to the init section below\r
68 #- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))\r