From 466fec26b39963933aa0c3d6decedff709080aeb Mon Sep 17 00:00:00 2001 From: Shane Grant Date: Sun, 28 Nov 2021 17:40:44 -0800 Subject: [PATCH] appveyor fixes --- appveyor.yml | 3 +++ scripts/appveyor.bat | 2 ++ 2 files changed, 5 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index f4226e0f..0475047c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -33,6 +33,9 @@ matrix: exclude: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 platform: Win32 + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + platform: Win32 platform: - Win32 diff --git a/scripts/appveyor.bat b/scripts/appveyor.bat index 00bd9b95..5c4f08d8 100644 --- a/scripts/appveyor.bat +++ b/scripts/appveyor.bat @@ -23,6 +23,8 @@ if not defined VS_VERSION_YEAR ( set VS_VERSION_YEAR=2017 ) else if "%VS_VERSION_MAJOR%" == "16" ( set VS_VERSION_YEAR=2019 + ) else if "%VS_VERSION_MAJOR%" == "17" ( + set VS_VERSION_YEAR=2022 ) else ( @echo Cannot use Visual Studio version %VS_VERSION_MAJOR% exit /b 1