2 version: 2.11.0.dev.{build}
9 CMAKE_BUILD_TYPE: Debug
10 CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
11 # https://www.appveyor.com/docs/windows-images-software/#boost
12 BOOST_ROOT: 'C:\Libraries\boost_1_67_0'
13 BOOST_LIBRARYDIR: 'C:\Libraries\boost_1_67_0\lib64-msvc-14.1'
14 # https://www.appveyor.com/docs/windows-images-software/#tools
15 OPENSSL_ROOT_DIR: 'C:\OpenSSL-v111-Win64'
16 BISON_BINARY: 'C:\ProgramData\chocolatey\lib\winflexbison3\tools\win_bison.exe'
17 FLEX_BINARY: 'C:\ProgramData\chocolatey\lib\winflexbison3\tools\win_flex.exe'
24 - build -> appveyor.yml
25 - C:\ProgramData\chocolatey\lib\winflexbison3
29 if (-not (Test-Path "C:\ProgramData\chocolatey\lib\winflexbison3")) {
30 & choco install winflexbison3
31 if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
34 # why that env handling, see
35 # https://help.appveyor.com/discussions/questions/18777-how-to-use-vcvars64bat-from-powershell#comment_44999171
38 & .\tools\win32\load-vsenv.ps1
40 & powershell.exe .\tools\win32\configure.ps1
41 if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
47 & powershell.exe .\tools\win32\build.ps1
48 if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
52 & powershell.exe .\tools\win32\test.ps1
53 if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
55 # Disable until we really need them
56 # https://github.com/Icinga/icinga2/issues/6106
57 # https://help.appveyor.com/discussions/problems/10253-maximum-allowed-artifact-storage-size-of-1000-mb-will-be-exceeded
59 #- path: build/Icinga*.msi
60 #- path: build/choco/*.nupkg
61 #- path: build/Test.xml