2016-07-12 07:19:56 +00:00
|
|
|
version: 1.0.{build}
|
2017-09-11 07:36:38 +00:00
|
|
|
image: Visual Studio 2015
|
2016-07-12 07:19:56 +00:00
|
|
|
|
|
|
|
|
2016-02-22 10:46:47 +00:00
|
|
|
clone_depth: 1
|
|
|
|
|
2016-07-12 07:19:56 +00:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
- Win32
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Unicode Release
|
|
|
|
- Unicode Debug
|
|
|
|
|
2016-02-22 10:46:47 +00:00
|
|
|
install:
|
2016-07-12 07:19:56 +00:00
|
|
|
- if "%platform%"=="x64" set archi=amd64
|
|
|
|
- if "%platform%"=="Win32" set archi=x86
|
2017-09-11 07:36:38 +00:00
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %archi%
|
2016-07-12 07:19:56 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
verbosity: minimal
|
2016-02-22 10:46:47 +00:00
|
|
|
|
|
|
|
build_script:
|
2016-07-12 07:19:56 +00:00
|
|
|
- cd c:\projects\notepad-plus-plus\scintilla\win32
|
|
|
|
- if "%configuration%"=="Unicode Debug" set scintilla_debug=DEBUG=1
|
|
|
|
- if "%configuration%"=="Unicode Release" set scintilla_debug=
|
|
|
|
- nmake NOBOOST=1 %scintilla_debug% -f scintilla.mak
|
|
|
|
- cd c:\projects\notepad-plus-plus\PowerEditor\visual.net\
|
2017-09-11 13:48:26 +00:00
|
|
|
- msbuild notepadPlus.vs2015.vcxproj /p:configuration="%configuration%" /p:platform="%platform%"
|
2016-07-12 07:19:56 +00:00
|
|
|
|
|
|
|
after_build:
|
|
|
|
- cd c:\projects\notepad-plus-plus\
|
|
|
|
- ps: >-
|
|
|
|
$nppFileName = "Notepad++.$env:PLATFORM.$env:CONFIGURATION.exe"
|
|
|
|
|
|
|
|
if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Unicode Release") {
|
|
|
|
Push-AppveyorArtifact "PowerEditor\bin64\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
|
|
|
|
|
|
|
if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Unicode Debug") {
|
|
|
|
Push-AppveyorArtifact "PowerEditor\visual.net\x64\Unicode Debug\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
|
|
|
|
|
|
|
if ($env:PLATFORM -eq "Win32" -and $env:CONFIGURATION -eq "Unicode Release") {
|
|
|
|
Push-AppveyorArtifact "PowerEditor\bin\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
|
|
|
|
|
|
|
if ($env:PLATFORM -eq "Win32" -and $env:CONFIGURATION -eq "Unicode Debug") {
|
|
|
|
Push-AppveyorArtifact "PowerEditor\visual.net\Unicode Debug\Notepad++.exe" -FileName "$nppFileName"
|
|
|
|
}
|
2016-03-25 12:18:31 +00:00
|
|
|
|
2016-07-12 07:19:56 +00:00
|
|
|
Push-AppveyorArtifact "scintilla\bin\SciLexer.dll" -FileName "SciLexer.$env:PLATFORM.$env:CONFIGURATION.dll"
|