forked from pnedev/comparePlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
54 lines (39 loc) · 1.67 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: 1.5.7.{build}
image: Visual Studio 2015
clone_depth: 1
environment:
matrix:
- PlatformToolset: v140_xp
- PlatformToolset: v120_xp
platform:
- x64
- Win32
configuration:
- Release Unicode
- Debug Unicode
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\compare-plugin\projects\2013\
- msbuild Compare.vcxproj /p:configuration="%configuration%" /p:platform="%platform%" /p:PlatformToolset="%PlatformToolset%"
after_build:
- cd c:\projects\compare-plugin\
- ps: >-
$ComparePluginFileName = "ComparePlugin.$env:PLATFORM.$env:CONFIGURATION.$env:PLATFORMTOOLSET.dll"
if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Release Unicode") {
Push-AppveyorArtifact "Notepad++\plugins\ComparePlugin.dll" -FileName "$ComparePluginFileName"
}
if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Debug Unicode") {
Push-AppveyorArtifact "Notepad++\plugins\ComparePlugin.dll" -FileName "$ComparePluginFileName"
}
if ($env:PLATFORM -eq "Win32" -and $env:CONFIGURATION -eq "Release Unicode") {
Push-AppveyorArtifact "Notepad++\plugins\ComparePlugin.dll" -FileName "$ComparePluginFileName"
}
if ($env:PLATFORM -eq "Win32" -and $env:CONFIGURATION -eq "Debug Unicode") {
Push-AppveyorArtifact "Notepad++\plugins\ComparePlugin.dll" -FileName "$ComparePluginFileName"
}