Skip to content

Commit 2559765

Browse files
committed
- update appveyor VM to 2017
- added v141_xp build - updated version info
1 parent ba1d7da commit 2559765

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

NppQCP.rc

0 Bytes
Binary file not shown.

appveyor.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
version: 2.0.{build}
2-
image: Visual Studio 2015
2+
image: Visual Studio 2017
33

44

55
environment:
66
matrix:
77
- PlatformToolset: v140_xp
8+
- PlatformToolset: v141_xp
89

910
platform:
1011
- x64
@@ -17,37 +18,38 @@ configuration:
1718

1819
install:
1920
- if "%platform%"=="x64" set archi=amd64
21+
- if "%platform%"=="x64" set platform_input=x64
22+
2023
- if "%platform%"=="Win32" set archi=x86
21-
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %archi%
24+
- if "%platform%"=="Win32" set platform_input=Win32
2225

23-
build:
24-
parallel: true # enable MSBuild parallel builds
25-
verbosity: minimal
26+
- if "%PlatformToolset%"=="v141_xp" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi%
27+
- if "%PlatformToolset%"=="v140_xp" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %archi%
2628

2729
build_script:
2830
- cd "%APPVEYOR_BUILD_FOLDER%"
29-
- msbuild NppQCP.vcxproj /m /p:configuration="%configuration%" /p:platform="%platform%" /p:PlatformToolset="%PlatformToolset%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
31+
- msbuild NppQCP.vcxproj /m /p:configuration="%configuration%" /p:platform="%platform_input%" /p:PlatformToolset="%PlatformToolset%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
3032

3133
after_build:
3234
- cd "%APPVEYOR_BUILD_FOLDER%"
3335
- ps: >-
3436
35-
if ($env:PLATFORM -eq "x64") {
36-
Push-AppveyorArtifact "$env:PLATFORM\$env:CONFIGURATION\NppQCP.dll" -FileName NppQCP.dll
37+
if ($env:PLATFORM_INPUT -eq "x64") {
38+
Push-AppveyorArtifact "$env:PLATFORM_INPUT\$env:CONFIGURATION\NppQCP.dll" -FileName NppQCP.dll
3739
}
3840
39-
if ($env:PLATFORM -eq "Win32" ) {
41+
if ($env:PLATFORM_INPUT -eq "Win32" ) {
4042
Push-AppveyorArtifact "$env:CONFIGURATION\NppQCP.dll" -FileName NppQCP.dll
4143
}
4244
43-
if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Unicode Release" -and $env:PLATFORMTOOLSET -eq "v140_xp") {
44-
if($env:PLATFORM -eq "x64"){
45+
if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Unicode Release" -and $env:PLATFORMTOOLSET -eq "v141_xp") {
46+
if($env:PLATFORM_INPUT -eq "x64"){
4547
$ZipFileName = "NppQCP_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip"
46-
7z a $ZipFileName $env:PLATFORM\$env:CONFIGURATION\NppQCP.dll
48+
7z a $ZipFileName $env:PLATFORM_INPUT\$env:CONFIGURATION\NppQCP.dll
4749
}
48-
if($env:PLATFORM -eq "Win32"){
50+
if($env:PLATFORM_INPUT -eq "Win32"){
4951
$ZipFileName = "NppQCP_$($env:APPVEYOR_REPO_TAG_NAME)_x86.zip"
50-
7z a $ZipFileName $env:PLATFORM\$env:CONFIGURATION\NppQCP.dll
52+
7z a $ZipFileName $env:CONFIGURATION\NppQCP.dll
5153
}
5254
}
5355
@@ -58,12 +60,12 @@ artifacts:
5860
deploy:
5961
provider: GitHub
6062
auth_token:
61-
secure: !!TODO, see https://www.appveyor.com/docs/deployment/github/#provider-settings!!
63+
secure: PhNXrhw03Z0rJZssX/UYyoIofw669wU1GBy/hGq+WJPCXd7mbxDu6Il32Rx0LBH6
6264
artifact: releases
6365
draft: false
6466
prerelease: false
6567
force_update: true
6668
on:
6769
appveyor_repo_tag: true
68-
PlatformToolset: v140_xp
69-
configuration: Release
70+
PlatformToolset: v141_xp
71+
configuration: Unicode Release

0 commit comments

Comments
 (0)