Browse Source

AppVeyor: Build only one debug configuration, deploy only release

bel 8 years ago
parent
commit
b7efd70960
1 changed files with 20 additions and 8 deletions
  1. 20 8
      appveyor.yml

+ 20 - 8
appveyor.yml

@@ -1,11 +1,6 @@
 version: '{build}'
 version: '{build}'
 
 
 
 
-configuration:
-  - Release
-  - Debug
-
-
 build:
 build:
 # no automatic build in script mode
 # no automatic build in script mode
 
 
@@ -32,6 +27,7 @@ environment:
       enable_websockets: YES
       enable_websockets: YES
       no_cgi: NO
       no_cgi: NO
       no_caching: NO
       no_caching: NO
+      configuration: Release
     - id: 2
     - id: 2
       compiler: msvc-18-seh
       compiler: msvc-18-seh
       build_shared: YES
       build_shared: YES
@@ -41,6 +37,7 @@ environment:
       enable_websockets: YES
       enable_websockets: YES
       no_cgi: NO
       no_cgi: NO
       no_caching: NO
       no_caching: NO
+      configuration: Release
     - id: 3
     - id: 3
       compiler: msvc-18-seh
       compiler: msvc-18-seh
       build_shared: YES
       build_shared: YES
@@ -50,6 +47,7 @@ environment:
       enable_websockets: YES
       enable_websockets: YES
       no_cgi: NO
       no_cgi: NO
       no_caching: NO
       no_caching: NO
+      configuration: Release
     - id: 4
     - id: 4
       compiler: gcc-5.1.0-posix
       compiler: gcc-5.1.0-posix
       build_shared: NO
       build_shared: NO
@@ -59,6 +57,7 @@ environment:
       enable_websockets: NO
       enable_websockets: NO
       no_cgi: YES
       no_cgi: YES
       no_caching: YES
       no_caching: YES
+      configuration: Release
     - id: 5
     - id: 5
       compiler: gcc-5.1.0-posix
       compiler: gcc-5.1.0-posix
       build_shared: NO
       build_shared: NO
@@ -68,6 +67,7 @@ environment:
       enable_websockets: YES
       enable_websockets: YES
       no_cgi: NO
       no_cgi: NO
       no_caching: YES
       no_caching: YES
+      configuration: Release
     - id: 6
     - id: 6
       compiler: gcc-5.1.0-posix
       compiler: gcc-5.1.0-posix
       build_shared: NO
       build_shared: NO
@@ -77,6 +77,7 @@ environment:
       enable_websockets: YES
       enable_websockets: YES
       no_cgi: NO
       no_cgi: NO
       no_caching: YES
       no_caching: YES
+      configuration: Release
     - id: 7
     - id: 7
       compiler: gcc-5.1.0-posix
       compiler: gcc-5.1.0-posix
       build_shared: YES
       build_shared: YES
@@ -86,6 +87,7 @@ environment:
       enable_websockets: YES
       enable_websockets: YES
       no_cgi: NO
       no_cgi: NO
       no_caching: YES
       no_caching: YES
+      configuration: Release
     - id: 8
     - id: 8
       compiler: gcc-5.1.0-posix
       compiler: gcc-5.1.0-posix
       build_shared: YES
       build_shared: YES
@@ -95,7 +97,17 @@ environment:
       enable_websockets: YES
       enable_websockets: YES
       no_cgi: NO
       no_cgi: NO
       no_caching: YES
       no_caching: YES
-
+      configuration: Release
+    - id: 9
+      compiler: msvc-18-seh
+      build_shared: NO
+      no_files: NO
+      enable_ipv6: YES
+      enable_ssl: YES
+      enable_websockets: YES
+      no_cgi: NO
+      no_caching: NO
+      configuration: Debug
 
 
 install:
 install:
   # Derive some extra information
   # Derive some extra information
@@ -223,8 +235,8 @@ after_test:
   - cd
   - cd
   - dir
   - dir
   - md dist
   - md dist
-  - cmake "-DCMAKE_INSTALL_PREFIX=%install_path%" -P "%build_path%/cmake_install.cmake"
-  - copy "%build_path%" dist\
+  - if "%build_type%"=="Release" (cmake "-DCMAKE_INSTALL_PREFIX=%install_path%" -P "%build_path%/cmake_install.cmake")
+  - if "%build_type%"=="Release" (copy "%build_path%" dist\)
   - dir dist\
   - dir dist\
 
 
 matrix:
 matrix: