Move CI to Visual Studio 2019.
PiperOrigin-RevId: 279785825
This commit is contained in:
parent
ed72a3496e
commit
2c9c80bd53
@ -8,9 +8,9 @@ environment:
|
|||||||
matrix:
|
matrix:
|
||||||
# AppVeyor currently has no custom job name feature.
|
# AppVeyor currently has no custom job name feature.
|
||||||
# http://help.appveyor.com/discussions/questions/1623-can-i-provide-a-friendly-name-for-jobs
|
# http://help.appveyor.com/discussions/questions/1623-can-i-provide-a-friendly-name-for-jobs
|
||||||
- JOB: Visual Studio 2017
|
- JOB: Visual Studio 2019
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
CMAKE_GENERATOR: Visual Studio 15 2017
|
CMAKE_GENERATOR: Visual Studio 16 2019
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
- x86
|
- x86
|
||||||
@ -24,9 +24,10 @@ build_script:
|
|||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd 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 --version
|
||||||
- cmake .. -G "%CMAKE_GENERATOR%"
|
- cmake .. -G "%CMAKE_GENERATOR%" -A "%CMAKE_GENERATOR_PLATFORM%"
|
||||||
-DCMAKE_CONFIGURATION_TYPES="%CONFIGURATION%"
|
-DCMAKE_CONFIGURATION_TYPES="%CONFIGURATION%"
|
||||||
- cmake --build . --config "%CONFIGURATION%"
|
- cmake --build . --config "%CONFIGURATION%"
|
||||||
- cd ..
|
- cd ..
|
||||||
|
Loading…
x
Reference in New Issue
Block a user