Skip to content

Commit

Permalink
Updated the version of the toolkit from 2019 to 2022.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zukaritasu committed Jul 28, 2024
1 parent cd4be52 commit 872215f
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions vstudio/appveyor.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -83,5 +68,5 @@ deploy:
force_update: true
on:
appveyor_repo_tag: true
PlatformToolset: v141
PlatformToolset: v143
configuration: Release

0 comments on commit 872215f

Please sign in to comment.