Skip to content

Commit

Permalink
appveyor: Run Debug builds
Browse files Browse the repository at this point in the history
[skip travis]

(cherry picked from commit ace12db)
  • Loading branch information
lazyfrosch authored and Michael Friedrich committed Feb 11, 2019
1 parent 3b14c73 commit 9f22300
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ environment:
BOOST_LIBRARYDIR: 'C:\Libraries\boost_1_65_1\lib64-msvc-14.1'
BISON_BINARY: 'C:\ProgramData\chocolatey\lib\winflexbison3\tools\win_bison.exe'
FLEX_BINARY: 'C:\ProgramData\chocolatey\lib\winflexbison3\tools\win_flex.exe'
CMAKE_BUILD_TYPE: Debug

branches:
only:
Expand Down
5 changes: 4 additions & 1 deletion tools/win32/configure.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ if (-not (Test-Path env:ICINGA2_BUILDPATH)) {
$env:ICINGA2_BUILDPATH = '.\build'
}

if (-not (Test-Path env:CMAKE_BUILD_TYPE)) {
$env:CMAKE_BUILD_TYPE = 'RelWithDebInfo'
}
if (-not (Test-Path "$env:ICINGA2_BUILDPATH")) {
mkdir "$env:ICINGA2_BUILDPATH" | out-null
}
Expand Down Expand Up @@ -59,7 +62,7 @@ if (Test-Path CMakeCache.txt) {
}

& cmake.exe "$sourcePath" `
-DCMAKE_BUILD_TYPE=RelWithDebInfo `
-DCMAKE_BUILD_TYPE="$env:CMAKE_BUILD_TYPE" `
-G $env:CMAKE_GENERATOR -DCPACK_GENERATOR=WIX `
-DICINGA2_WITH_MYSQL=OFF -DICINGA2_WITH_PGSQL=OFF `
-DOPENSSL_ROOT_DIR="$env:OPENSSL_ROOT_DIR" `
Expand Down

0 comments on commit 9f22300

Please sign in to comment.