From 3986fd8b9d8ae212fa8c00c82f4157211106bfa8 Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Thu, 25 Aug 2016 20:01:16 +0200 Subject: [PATCH] Appveyor: produce two artifacts Produce two artifacts: one with all the files that are generated during the build (PDB files for debug, etc.) and one without. The last one is most suited as a release. --- appveyor.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6d0908d05..6d77e73e5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -58,7 +58,14 @@ build_script: cd $env:APPVEYOR_BUILD_FOLDER if($env:compiler -eq "msbuild") { - msbuild /p:Configuration=Release + msbuild /p:Configuration=Release; + cp -R Graphviz graphviz-debug-information\Graphviz; + cp -R Graphviz graphviz-release\Graphviz; + rm graphviz-release\Graphviz\bin\*.pdb; + rm graphviz-release\Graphviz\bin\*.lastcodeanalysissucceeded; + rm graphviz-release\Graphviz\bin\*.iobj; + rm graphviz-release\Graphviz\bin\*.ipdb; + rm graphviz-release\Graphviz\bin\*.ilk; } if ($env:compiler -eq "msys2" -Or $env:compiler -eq "cygwin") { @@ -87,5 +94,7 @@ build_script: } artifacts: - - path: Graphviz - name: graphviz-windows \ No newline at end of file + - path: graphviz-release + name: graphviz-windows + - path: graphviz-debug-information + name: graphviz-windows-debug-information -- 2.40.0