]> granicus.if.org Git - graphviz/commitdiff
Run tests in CI also for CMake Debug builds on Windows
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Mon, 27 Jul 2020 16:24:50 +0000 (18:24 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Thu, 30 Jul 2020 14:11:12 +0000 (16:11 +0200)
.gitlab-ci.yml

index b6c980eed79bb1ed12f6e1971eacb5a7e4b50a35..e5efd748ea23491bad53e821ed7a5f319a0ac759 100644 (file)
@@ -100,13 +100,13 @@ portable-source:
                 $API = "win32";
             }
         - >-
-            if($env:configuration -eq "Release") {
-              if($env:build_system -eq "cmake") {
-                cd build;
-                C:\"Program Files"\CMake\bin\cpack
-                cd ..;
-              }
-              elseif($env:build_system -eq "msbuild") {
+            if($env:build_system -eq "cmake") {
+              cd build;
+              C:\"Program Files"\CMake\bin\cpack -C $env:configuration
+              cd ..;
+            }
+            elseif($env:build_system -eq "msbuild") {
+              if($env:configuration -eq "Release") {
                 rm Release\Graphviz\bin\*.lastcodeanalysissucceeded;
                 rm Release\Graphviz\bin\*.iobj;
                 rm Release\Graphviz\bin\*.ipdb;
@@ -123,7 +123,7 @@ portable-source:
               }
             }
         - >-
-            if($env:build_system -eq "cmake" -and $env:configuration -eq "Release") {
+            if($env:build_system -eq "cmake") {
               cd build;
               $FILENAME = & invoke-Expression "Get-ChildItem Graphviz*.exe";
               mv $FILENAME graphviz-install.exe;