diff --git a/appveyor.yml b/appveyor.yml index b61134f6..acaf3cc3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,7 +3,7 @@ version: 2.2.0.{build} os: - Visual Studio 2017 - - Visual Studio 2019 + - Previous Visual Studio 2019 platform: - x64 @@ -67,7 +67,7 @@ environment: APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017" - EVENT_BUILD_METHOD: "cmake" EVENT_CMAKE_OPTIONS: "" - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019" + APPVEYOR_BUILD_WORKER_IMAGE: "Previous Visual Studio 2019" - EVENT_BUILD_METHOD: "cmake" EVENT_CMAKE_OPTIONS: "-DEVENT__DISABLE_TESTS=ON -DEVENT__DISABLE_SAMPLES=ON" APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017" @@ -79,10 +79,10 @@ environment: matrix: exclude: - - os: Visual Studio 2019 + - os: Previous Visual Studio 2019 APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017" - os: Visual Studio 2017 - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019" + APPVEYOR_BUILD_WORKER_IMAGE: "Previous Visual Studio 2019" fast_finish: true init: @@ -119,7 +119,7 @@ build_script: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq 'Visual Studio 2017') { $env:BUILD_DIR="build-cmake" } - if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq 'Visual Studio 2019') { + if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq 'Previous Visual Studio 2019') { $env:BUILD_DIR="build-cmake-vs2019" } md $env:BUILD_DIR 2> $null @@ -128,7 +128,7 @@ build_script: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq 'Visual Studio 2017') { $env:cmake_cmd="cmake -G 'Visual Studio 15 2017 Win64' .. $env:EVENT_CMAKE_OPTIONS" } - if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq 'Visual Studio 2019') { + if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq 'Previous Visual Studio 2019') { $env:cmake_cmd="cmake -G 'Visual Studio 16 2019' -A x64 .. $env:EVENT_CMAKE_OPTIONS" } Invoke-Expression $env:cmake_cmd