diff options
Diffstat (limited to '')
-rw-r--r-- | appveyor.yml | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml index c66be5f12..bb3847585 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,10 @@ version: 1.0.{build} -image: Visual Studio 2015 clone_depth: 50 +image: +- Visual Studio 2019 +- Visual Studio 2017 + # Set up environment variables for build info environment: CUBERITE_BUILD_SERIES_NAME: AppVeyor @@ -21,6 +24,14 @@ environment: configuration: Release BUILD_DIR: Release-x64 +matrix: + exclude: + - image: Visual Studio 2017 + configuration: Release + - image: Visual Studio 2019 + configuration: Debug + + install: - echo %TIME% - git submodule update --init @@ -38,7 +49,8 @@ for: - if not exist %BUILD_DIR% mkdir %BUILD_DIR% - cd %BUILD_DIR% - echo %TIME% - - cmake -G "Visual Studio 14 2015 Win64" -DSELF_TEST=1 -DBUILD_TOOLS=1 .. + # TODO: re-add -DSELF_TEST=YES -DBUILD_TOOLS=YES once PCH for tools enabled (too slow otherwise) + - cmake -G "Visual Studio 15 2017" -A "x64" -DSELF_TEST=NO -DBUILD_TOOLS=NO .. - echo %TIME% - cd .. @@ -63,7 +75,7 @@ for: - if not exist %BUILD_DIR% mkdir %BUILD_DIR% - cd %BUILD_DIR% - echo %TIME% - - cmake -G "Visual Studio 14 2015" .. + - cmake -G "Visual Studio 16 2019" .. - echo %TIME% - cd .. @@ -88,7 +100,7 @@ for: - if not exist %BUILD_DIR% mkdir %BUILD_DIR% - cd %BUILD_DIR% - echo %TIME% - - cmake -G "Visual Studio 14 2015 Win64" .. + - cmake -G "Visual Studio 16 2019" -A "x64" .. - echo %TIME% - cd .. |