2018-02-01 22:05:41 +00:00
|
|
|
version: 7.8.{build}
|
2019-05-08 22:12:07 +00:00
|
|
|
image: Visual Studio 2017
|
2016-02-22 10:46:47 +00:00
|
|
|
|
2018-02-01 22:05:41 +00:00
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- platform: Win32
|
|
|
|
archi: x86
|
|
|
|
platform_input: Win32
|
|
|
|
|
|
|
|
- platform: x64
|
|
|
|
archi: amd64
|
|
|
|
platform_input: x64
|
|
|
|
|
|
|
|
- platform: mingw-w64_810_X64
|
|
|
|
platform_input: mingw
|
2016-07-12 07:19:56 +00:00
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Unicode Release
|
|
|
|
- Unicode Debug
|
|
|
|
|
2016-02-22 10:46:47 +00:00
|
|
|
install:
|
2018-02-01 22:05:41 +00:00
|
|
|
- if "%Platform%"=="mingw-w64_810_X64" set PATH=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH:C:\Program Files\Git\usr\bin;=%
|
|
|
|
- if "%archi%" NEQ "" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi%
|
2016-07-12 07:19:56 +00:00
|
|
|
|
2016-02-22 10:46:47 +00:00
|
|
|
|
|
|
|
build_script:
|
2018-02-01 22:05:41 +00:00
|
|
|
- ps: |
|
|
|
|
Write-Output "Configuration: $env:CONFIGURATION"
|
|
|
|
Write-Output "Platform: $env:PLATFORM"
|
|
|
|
|
2019-05-08 22:12:07 +00:00
|
|
|
- cd "%APPVEYOR_BUILD_FOLDER%"\scintilla\win32
|
2016-07-12 07:19:56 +00:00
|
|
|
- if "%configuration%"=="Unicode Debug" set scintilla_debug=DEBUG=1
|
|
|
|
- if "%configuration%"=="Unicode Release" set scintilla_debug=
|
2018-02-01 22:05:41 +00:00
|
|
|
- if "%archi%" NEQ "" nmake SUPPORT_XP=1 %scintilla_debug% -f scintilla.mak
|
|
|
|
- if "%Platform%"=="mingw-w64_810_X64" mingw32-make -j%NUMBER_OF_PROCESSORS%
|
|
|
|
|
2019-05-08 22:12:07 +00:00
|
|
|
- cd "%APPVEYOR_BUILD_FOLDER%"\PowerEditor\visual.net\
|
2018-02-01 22:05:41 +00:00
|
|
|
- if "%archi%" NEQ "" msbuild notepadPlus.vcxproj /p:configuration="%configuration%" /p:platform="%platform_input%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
|
- if "%Platform%"=="mingw-w64_810_X64" cd c:\projects\notepad-plus-plus\PowerEditor\gcc\ & mingw32-make -j%NUMBER_OF_PROCESSORS%
|
|
|
|
|
2016-07-12 07:19:56 +00:00
|
|
|
|
|
|
|
after_build:
|
2019-05-08 22:12:07 +00:00
|
|
|
- cd "%APPVEYOR_BUILD_FOLDER%"
|
2016-07-12 07:19:56 +00:00
|
|
|
- ps: >-
|
2019-05-08 22:12:07 +00:00
|
|
|
$nppFileName = "Notepad++.$env:PLATFORM_INPUT.$env:CONFIGURATION.exe"
|
2016-07-12 07:19:56 +00:00
|
|
|
|
2019-05-08 22:12:07 +00:00
|
|
|
if ($env:PLATFORM_INPUT -eq "x64" -and $env:CONFIGURATION -eq "Unicode Release") {
|
2016-07-12 07:19:56 +00:00
|
|
|
Push-AppveyorArtifact "PowerEditor\bin64\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
|
|
|
|
2019-05-08 22:12:07 +00:00
|
|
|
if ($env:PLATFORM_INPUT -eq "x64" -and $env:CONFIGURATION -eq "Unicode Debug") {
|
2016-07-12 07:19:56 +00:00
|
|
|
Push-AppveyorArtifact "PowerEditor\visual.net\x64\Unicode Debug\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
|
|
|
|
2019-05-08 22:12:07 +00:00
|
|
|
if ($env:PLATFORM_INPUT -eq "Win32" -and $env:CONFIGURATION -eq "Unicode Release") {
|
2016-07-12 07:19:56 +00:00
|
|
|
Push-AppveyorArtifact "PowerEditor\bin\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
|
|
|
|
2019-05-08 22:12:07 +00:00
|
|
|
if ($env:PLATFORM_INPUT -eq "Win32" -and $env:CONFIGURATION -eq "Unicode Debug") {
|
2016-07-12 07:19:56 +00:00
|
|
|
Push-AppveyorArtifact "PowerEditor\visual.net\Unicode Debug\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
2016-03-25 12:18:31 +00:00
|
|
|
|
2018-02-01 22:05:41 +00:00
|
|
|
if ($env:PLATFORM_INPUT -eq "mingw") {
|
|
|
|
Push-AppveyorArtifact "PowerEditor\bin\NotepadPP.exe" -FileName "$nppFileName"
|
|
|
|
Push-AppveyorArtifact "PowerEditor\bin\NotepadPP.exe_dynamic" -FileName "$nppFileName_dynamic"
|
|
|
|
}
|
|
|
|
|
2016-07-12 07:19:56 +00:00
|
|
|
Push-AppveyorArtifact "scintilla\bin\SciLexer.dll" -FileName "SciLexer.$env:PLATFORM.$env:CONFIGURATION.dll"
|