Skip to content

Commit

Permalink
AppVeyor: build Windows binaries with debug info, using RelWithDebInf…
Browse files Browse the repository at this point in the history
…o config
  • Loading branch information
qris committed Jun 2, 2018
1 parent 3f7b606 commit ee2de0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appveyor.yml
Expand Up @@ -32,10 +32,11 @@ init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
- ps: $env:date_string = Get-Date -Format "yyMMdd"
- ps: $env:sane_platform = $($env:PLATFORM.replace("Win32", "x86"))
- ps: $env:public_config = $($env:CONFIGURATION.replace("RelWithDebInfo", "Release"))
# http://help.appveyor.com/discussions/problems/2874-how-can-i-add-commit-id-to-build-version
- ps: $env:boxbackup_version_full="$env:BOXBACKUP_VERSION_BASE.$env:APPVEYOR_REPO_BRANCH.$env:date_string.$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
- ps: Update-AppveyorBuild -Version "$env:boxbackup_version_full"
- ps: $env:compiled_version="$($env:boxbackup_version_full)_Win_$($env:sane_platform)_$($env:CONFIGURATION)"
- ps: $env:compiled_version="$($env:boxbackup_version_full)_Win_$($env:sane_platform)_$($env:public_config)"
# The only way to switch between 32-bit and 64-bit compilers appears to be to append " Win64"
# to the generator name if you want a 64-bit build (x64 platform):
- ps: $env:generator_name="$($env:Generator_Base)$(if ($env:PLATFORM.equals('x64')) {' Win64'})"
Expand Down

0 comments on commit ee2de0c

Please sign in to comment.