notepad-plus-plus-legacy/appveyor.yml
Christian Grasser 28c9bb6d31 correct appveyor.yml VS vcxproj after rename
add logger to see warnings/errors in the message tab

Closes #3825
2017-10-19 23:29:10 +02:00

53 lines
1.9 KiB
YAML

version: 1.0.{build}
image: Visual Studio 2015
clone_depth: 1
platform:
- x64
- Win32
configuration:
- Unicode Release
- Unicode Debug
install:
- if "%platform%"=="x64" set archi=amd64
- if "%platform%"=="Win32" set archi=x86
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %archi%
build:
verbosity: minimal
build_script:
- 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\
- msbuild notepadPlus.vcxproj /p:configuration="%configuration%" /p:platform="%platform%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
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"
}
Push-AppveyorArtifact "scintilla\bin\SciLexer.dll" -FileName "SciLexer.$env:PLATFORM.$env:CONFIGURATION.dll"