summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Costan <costan@google.com>2019-11-11 11:58:55 -0800
committerVictor Costan <pwnall@chromium.org>2019-11-11 12:07:40 -0800
commit2c9c80bd539ca5aad5ea864ee6dd81c1ee3eb91e (patch)
treed0ea2906f74e6b85012e0cfec8053d606b5edb8c
parented72a3496ed01e1c6a28f743258623a58f6867ee (diff)
downloadleveldb-2c9c80bd539ca5aad5ea864ee6dd81c1ee3eb91e.tar.gz
Move CI to Visual Studio 2019.
PiperOrigin-RevId: 279785825
-rw-r--r--.appveyor.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index c24b17e..448f183 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -8,9 +8,9 @@ environment:
matrix:
# AppVeyor currently has no custom job name feature.
# http://help.appveyor.com/discussions/questions/1623-can-i-provide-a-friendly-name-for-jobs
- - JOB: Visual Studio 2017
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- CMAKE_GENERATOR: Visual Studio 15 2017
+ - JOB: Visual Studio 2019
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
+ CMAKE_GENERATOR: Visual Studio 16 2019
platform:
- x86
@@ -24,9 +24,10 @@ build_script:
- git submodule update --init --recursive
- mkdir build
- cd build
- - if "%platform%"=="x64" set CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64
+ - if "%platform%"=="x86" (set CMAKE_GENERATOR_PLATFORM="Win32")
+ else (set CMAKE_GENERATOR_PLATFORM="%platform%")
- cmake --version
- - cmake .. -G "%CMAKE_GENERATOR%"
+ - cmake .. -G "%CMAKE_GENERATOR%" -A "%CMAKE_GENERATOR_PLATFORM%"
-DCMAKE_CONFIGURATION_TYPES="%CONFIGURATION%"
- cmake --build . --config "%CONFIGURATION%"
- cd ..