Don HO
8 years ago
4 changed files with 113 additions and 18 deletions
@ -1,11 +0,0 @@
|
||||
@echo off |
||||
|
||||
cd scintilla\boostregex || exit |
||||
buildboost.bat C:\projects\notepad-plus-plus\boost_1_55_0 || exit |
||||
cd ..\win32 || exit |
||||
nmake -f scintilla.mak || exit |
||||
cd ..\..\PowerEditor\visual.net || exit |
||||
msbuild notepadPlus.vcxproj /p:configuration="Unicode Debug" /p:platform=Win32 || exit |
||||
|
||||
cd .. |
||||
appveyor PushArtifact bin |
@ -1,12 +1,52 @@
|
||||
version: 1.0.{build} |
||||
image: Visual Studio 2013 |
||||
|
||||
|
||||
clone_depth: 1 |
||||
|
||||
platform: |
||||
- x64 |
||||
- Win32 |
||||
|
||||
configuration: |
||||
- Unicode Release |
||||
- Unicode Debug |
||||
|
||||
install: |
||||
- ps: Invoke-WebRequest -OutFile boost_1_55_0.7z -UserAgent Wget/1.17.1 https://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.7z |
||||
- 7z x boost_1_55_0.7z 2>nul >nul |
||||
- if "%platform%"=="x64" set archi=amd64 |
||||
- if "%platform%"=="Win32" set archi=x86 |
||||
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %archi% |
||||
|
||||
build: |
||||
verbosity: minimal |
||||
|
||||
build_script: |
||||
- cmd /k "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat" < appveyor-build.cmd |
||||
- 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%" |
||||
|
||||
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" |
||||
} |
||||
|
||||
artifacts: |
||||
- path: 'PowerEditor\visual.net\Unicode Debug\Notepad++.exe' |
||||
name: bin |
||||
Push-AppveyorArtifact "scintilla\bin\SciLexer.dll" -FileName "SciLexer.$env:PLATFORM.$env:CONFIGURATION.dll" |
||||
|
Loading…
Reference in new issue