Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appveyor #1

Open
wants to merge 2 commits into
base: master
from
Open
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -0,0 +1,54 @@
version: 3.1.{build}
image: Visual Studio 2015


clone_depth: 1


environment:
matrix:
- PlatformToolset: v140_xp
- PlatformToolset: v120_xp

platform:
- x64
- Win32

configuration:
- Release
- 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:
parallel: true # enable MSBuild parallel builds
verbosity: minimal

build_script:
- cd c:\projects\plugindemo\vs.proj\
- msbuild NppPluginDemo.vcxproj /p:configuration="%configuration%" /p:platform="%platform%" /p:PlatformToolset="%PlatformToolset%"

after_build:
- cd c:\projects\plugindemo\
- ps: >-
$plugindemoFileName = "NppPluginDemo.$env:PLATFORM.$env:CONFIGURATION.$env:PLATFORMTOOLSET.dll"
if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Release") {
Push-AppveyorArtifact "bin64\NppPluginDemo.dll" -FileName "$plugindemoFileName"
}
if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Debug") {
Push-AppveyorArtifact "vs.proj\x64\Debug\NppPluginDemo.dll" -FileName "$plugindemoFileName"
}
if ($env:PLATFORM -eq "Win32" -and $env:CONFIGURATION -eq "Release") {
Push-AppveyorArtifact "bin\NppPluginDemo.dll" -FileName "$plugindemoFileName"
}
if ($env:PLATFORM -eq "Win32" -and $env:CONFIGURATION -eq "Debug") {
Push-AppveyorArtifact "vs.proj\Debug\NppPluginDemo.dll" -FileName "$plugindemoFileName"
}
@@ -108,13 +108,15 @@
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<Optimization>Full</Optimization>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;NPPPLUGINDEMO_EXPORTS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_NON_CONFORMING_SWPRINTFS=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
</AdditionalIncludeDirectories>
<TreatWarningAsError>true</TreatWarningAsError>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -127,12 +129,14 @@
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<Optimization>Full</Optimization>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;NPPPLUGINDEMO_EXPORTS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_NON_CONFORMING_SWPRINTFS=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<TreatWarningAsError>true</TreatWarningAsError>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>false</OmitFramePointers>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -153,6 +157,7 @@
<TreatWarningAsError>true</TreatWarningAsError>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -180,6 +185,7 @@ copy ..\readme.FIRST ..\bin\readme.FIRST</Command>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>false</OmitFramePointers>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.