2019-05-09 00:12:07 +02:00
|
|
|
version: 7.6.{build}
|
|
|
|
image: Visual Studio 2017
|
2016-02-22 11:46:47 +01:00
|
|
|
|
2016-07-12 09:19:56 +02:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
- Win32
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Unicode Release
|
|
|
|
- Unicode Debug
|
|
|
|
|
2016-02-22 11:46:47 +01:00
|
|
|
install:
|
2016-07-12 09:19:56 +02:00
|
|
|
- if "%platform%"=="x64" set archi=amd64
|
2019-05-09 00:12:07 +02:00
|
|
|
- if "%platform%"=="x64" set platform_input=x64
|
|
|
|
|
2016-07-12 09:19:56 +02:00
|
|
|
- if "%platform%"=="Win32" set archi=x86
|
2019-05-09 00:12:07 +02:00
|
|
|
- if "%platform%"=="Win32" set platform_input=Win32
|
|
|
|
|
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi%
|
2016-07-12 09:19:56 +02:00
|
|
|
|
2016-02-22 11:46:47 +01:00
|
|
|
|
|
|
|
build_script:
|
2019-05-09 00:12:07 +02:00
|
|
|
- cd "%APPVEYOR_BUILD_FOLDER%"\scintilla\win32
|
2016-07-12 09:19:56 +02:00
|
|
|
- if "%configuration%"=="Unicode Debug" set scintilla_debug=DEBUG=1
|
|
|
|
- if "%configuration%"=="Unicode Release" set scintilla_debug=
|
2019-05-09 00:12:07 +02:00
|
|
|
- nmake SUPPORT_XP=1 %scintilla_debug% -f scintilla.mak
|
|
|
|
- cd "%APPVEYOR_BUILD_FOLDER%"\PowerEditor\visual.net\
|
|
|
|
- msbuild notepadPlus.vcxproj /p:configuration="%configuration%" /p:platform="%platform_input%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
2016-07-12 09:19:56 +02:00
|
|
|
|
|
|
|
after_build:
|
2019-05-09 00:12:07 +02:00
|
|
|
- cd "%APPVEYOR_BUILD_FOLDER%"
|
2016-07-12 09:19:56 +02:00
|
|
|
- ps: >-
|
2019-05-09 00:12:07 +02:00
|
|
|
$nppFileName = "Notepad++.$env:PLATFORM_INPUT.$env:CONFIGURATION.exe"
|
2016-07-12 09:19:56 +02:00
|
|
|
|
2019-05-09 00:12:07 +02:00
|
|
|
if ($env:PLATFORM_INPUT -eq "x64" -and $env:CONFIGURATION -eq "Unicode Release") {
|
2016-07-12 09:19:56 +02:00
|
|
|
Push-AppveyorArtifact "PowerEditor\bin64\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
|
|
|
|
2019-05-09 00:12:07 +02:00
|
|
|
if ($env:PLATFORM_INPUT -eq "x64" -and $env:CONFIGURATION -eq "Unicode Debug") {
|
2016-07-12 09:19:56 +02:00
|
|
|
Push-AppveyorArtifact "PowerEditor\visual.net\x64\Unicode Debug\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
|
|
|
|
2019-05-09 00:12:07 +02:00
|
|
|
if ($env:PLATFORM_INPUT -eq "Win32" -and $env:CONFIGURATION -eq "Unicode Release") {
|
2016-07-12 09:19:56 +02:00
|
|
|
Push-AppveyorArtifact "PowerEditor\bin\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
|
|
|
|
2019-05-09 00:12:07 +02:00
|
|
|
if ($env:PLATFORM_INPUT -eq "Win32" -and $env:CONFIGURATION -eq "Unicode Debug") {
|
2016-07-12 09:19:56 +02:00
|
|
|
Push-AppveyorArtifact "PowerEditor\visual.net\Unicode Debug\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
2016-03-25 13:18:31 +01:00
|
|
|
|
2016-07-12 09:19:56 +02:00
|
|
|
Push-AppveyorArtifact "scintilla\bin\SciLexer.dll" -FileName "SciLexer.$env:PLATFORM.$env:CONFIGURATION.dll"
|