Fully qualify isnan call when HAVE_ISNAN is defined
[geos.git] / appveyor.yml
blob7188f7fe51ac6a85026701399534ed13ebb1ff5b
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.5\r
14 shallow_clone: true\r
15 clone_depth: 5\r
17 matrix:\r
18   fast_finish: false # set this flag to immediately finish build once one of the jobs fails.\r
20 environment:\r
21   matrix:\r
22     - CFG: Debug\r
23       PLATFORM: Win32\r
24     - CFG: Release\r
25       PLATFORM: Win64\r
27 init:\r
28   - ps: |\r
29       Write-Host "Build worker environment variables:" -ForegroundColor Magenta\r
30       Get-ChildItem Env: | %{"{0}={1}" -f $_.Name,$_.Value}\r
32 before_build:\r
33   - ps: |\r
34       if ($env:PLATFORM -Match "Win32") {\r
35         $G="Visual Studio 14 2015"\r
36       } elseif ($env:PLATFORM -Match "Win64") {\r
37         $G="Visual Studio 14 2015 Win64"\r
38       }\r
39       Write-Host "Running CMake:" -ForegroundColor Magenta\r
40       cmake.exe -G $G -DCMAKE_BUILD_TYPE=$env:CFG $env:APPVEYOR_BUILD_FOLDER\r
41       Write-Host "Running MSBuild:" -ForegroundColor Magenta\r
42   - ps: \r
44 build:\r
45   parallel: true\r
46   project: GEOS.sln\r
47   verbosity: minimal\r
49 test_script:\r
50   - ps: |\r
51       Write-Host "Running CTest:" -ForegroundColor Magenta\r
52       $cmd = 'ctest -V --output-on-failure -C ' + $Env:CFG\r
53       iex "& $cmd"\r
54       if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }\r
56 # If you need to debug AppVeyor session (https://www.appveyor.com/docs/how-to/rdp-to-build-worker), then:\r
57 # 1. Uncomment the on_finish section below:\r
58 #on_finish:\r
59 #  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))\r
60 # 2. Add this line to the init section below\r
61 #- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))\r