From 3b48e9575c30ae0a82fcf06e18259d532336a415 Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Tue, 6 Sep 2016 16:06:23 +0200 Subject: [PATCH] Appveyor: split build into two jobs. Split the build into two jobs: one for Release and one for Debug. --- appveyor.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 2b0986577..f6bf91239 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,6 +13,10 @@ environment: #- compiler: msys2 #- compiler: cygwin +configuration: + - Debug + - Release + install: # Retrieve submodules, dependencies are stored there. - git submodule update --init @@ -58,12 +62,13 @@ build_script: cd $env:APPVEYOR_BUILD_FOLDER if($env:compiler -eq "msbuild") { - msbuild /p:Configuration=Release; - rm Release\Graphviz\bin\*.lastcodeanalysissucceeded; - rm Release\Graphviz\bin\*.iobj; - rm Release\Graphviz\bin\*.ipdb; - rm Release\Graphviz\bin\*.ilk; - msbuild /p:Configuration=Debug; + msbuild /p:Configuration=$env:configuration; + if($env:configuration -eq "Release") { + rm Release\Graphviz\bin\*.lastcodeanalysissucceeded; + rm Release\Graphviz\bin\*.iobj; + rm Release\Graphviz\bin\*.ipdb; + rm Release\Graphviz\bin\*.ilk; + } } if ($env:compiler -eq "msys2" -Or $env:compiler -eq "cygwin") { -- 2.40.0