From 872215f00da4c7244ca65043cfdb072a947e0aa2 Mon Sep 17 00:00:00 2001 From: Zukaritasu Date: Sun, 28 Jul 2024 14:17:34 -0400 Subject: [PATCH] Updated the version of the toolkit from 2019 to 2022. --- vstudio/appveyor.yml | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/vstudio/appveyor.yml b/vstudio/appveyor.yml index 5cdb49f..368d9c7 100644 --- a/vstudio/appveyor.yml +++ b/vstudio/appveyor.yml @@ -1,15 +1,14 @@ version: 3.1.{build} -image: Visual Studio 2017 +image: Visual Studio 2022 environment: matrix: - - PlatformToolset: v141 + - PlatformToolset: v143 platform: - x64 - Win32 - - arm64 configuration: - Release @@ -22,11 +21,7 @@ install: - if "%platform%"=="Win32" set archi=x86 - if "%platform%"=="Win32" set platform_input=Win32 - - if "%platform%"=="arm64" set archi=amd64_arm64 - - if "%platform%"=="arm64" set platform_input=arm64 - - - if "%PlatformToolset%"=="v141" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi% - - if "%PlatformToolset%"=="v142" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi% + - if "%PlatformToolset%"=="v143" call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi% build_script: - cd "%APPVEYOR_BUILD_FOLDER%"/vs.proj @@ -44,11 +39,7 @@ after_build: Push-AppveyorArtifact "bin\NppPluginTemplate.dll" -FileName NppPluginTemplate.dll } - if ($env:PLATFORM_INPUT -eq "arm64" -and $env:CONFIGURATION -eq "Release") { - Push-AppveyorArtifact "arm64\NppPluginTemplate.dll" -FileName NppPluginTemplate.dll - } - - if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v141") { + if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v143") { if($env:PLATFORM_INPUT -eq "x64"){ $ZipFileName = "NppPluginTemplate_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip" Remove-Item bin64\*.ipdb @@ -61,12 +52,6 @@ after_build: Remove-Item bin\*.iobj 7z a $ZipFileName "$($env:APPVEYOR_BUILD_FOLDER)\bin\*" } - if($env:PLATFORM_INPUT -eq "arm64"){ - $ZipFileName = "NppPluginTemplate_$($env:APPVEYOR_REPO_TAG_NAME)_arm64.zip" - Remove-Item bin64\*.ipdb - Remove-Item bin64\*.iobj - 7z a $ZipFileName "$($env:APPVEYOR_BUILD_FOLDER)\arm64\*" - } } artifacts: @@ -83,5 +68,5 @@ deploy: force_update: true on: appveyor_repo_tag: true - PlatformToolset: v141 + PlatformToolset: v143 configuration: Release