summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2021-03-29 16:54:41 +0200
committerSebastian Pipping <sebastian@pipping.org>2021-03-29 17:59:04 +0200
commitc6b7fc4284995c0cbfb524a50f8f228b506e4e43 (patch)
tree563dff6e6a50983d41494133455d369972173130
parent58f31cf4cbc9f9deef710f3f03777d210c5059c5 (diff)
downloaduriparser-c6b7fc4284995c0cbfb524a50f8f228b506e4e43.tar.gz
appveyor.yml: Add MSVC 2019msvc-2019
-rw-r--r--appveyor.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
index fc8e916..ec111fa 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -65,6 +65,16 @@ environment:
CMAKE_GENERATOR: Visual Studio 15 2017 Win64
PLATFORM: x64
+ # Visual Studio 2019, 32 bit
+ - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
+ CMAKE_GENERATOR: Visual Studio 16 2019
+ COMMON_CMAKE_ARGS: -A Win32
+
+ # Visual Studio 2019, 64 bit
+ - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
+ CMAKE_GENERATOR: Visual Studio 16 2019
+ COMMON_CMAKE_ARGS: -A x64
+
before_build:
- curl -fsSL -o release-%GTEST_VERSION%.zip https://github.com/google/googletest/archive/release-%GTEST_VERSION%.zip
- unzip -q release-%GTEST_VERSION%.zip
@@ -72,6 +82,7 @@ before_build:
- cmake
-G "%CMAKE_GENERATOR%"
-DCVF_VERSION=%GTEST_VERSION%
+ %COMMON_CMAKE_ARGS%
.
- cmake --build . --config Release -- /m
# BEGIN Enrich folder to make FindGTest.cmake happy
@@ -89,6 +100,7 @@ before_build:
-DURIPARSER_BUILD_DOCS=OFF
-DURIPARSER_MSVC_RUNTIME=/MT
-DURIPARSER_WARNINGS_AS_ERRORS=ON
+ %COMMON_CMAKE_ARGS%
..
build: