aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/appveyor.yml b/appveyor.yml
index c34c935f..8cc8c5be 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,7 +1,3 @@
-platform:
-- x64
-- x86
-
branches:
except:
- /(cherry-pick-)?backport-\d+-to-/
@@ -10,12 +6,16 @@ environment:
matrix:
# VS 2015
- - VS_VERSION: Visual Studio 14
+ - platform: x86
+ VS_VERSION: Visual Studio 14
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
+ BUILD_SHARED_LIBS: OFF
# VS 2017
- - VS_VERSION: Visual Studio 15
+ - platform: x64
+ VS_VERSION: Visual Studio 15
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ BUILD_SHARED_LIBS: ON
shallow_clone: true
@@ -33,9 +33,7 @@ build_script:
- dir C:\Tools\vcpkg\installed\%platform%-windows\bin
- set PATH=C:\Tools\vcpkg\installed\%platform%-windows\bin;%PATH%
- if "%platform%" == "x64" SET VS_FULL=%VS_VERSION% Win64
- - if "%platform%" == "x64" SET BUILD_SHARED_LIBS=ON
- if "%platform%" == "x86" SET VS_FULL=%VS_VERSION%
- - if "%platform%" == "x86" SET BUILD_SHARED_LIBS=OFF
- echo "%VS_FULL%"
#
- set PROJ_BUILD=%APPVEYOR_BUILD_FOLDER%\build