forked from ZeBobo5/Vlc.DotNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
90 lines (71 loc) · 6.03 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
-
image: Visual Studio 2017
version: 2.1.{build}
branches:
only:
- master
skip_tags: true
init:
- git config --global core.autocrlf input
clone_folder: C:\projects\vlc-dotnet-master\
shallow_clone: true
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "2.1.{build}"
assembly_file_version: "2.1.0.0"
assembly_informational_version: "2.1.0.0"
build_script:
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Restore /Verbosity:Minimal "src\Vlc.DotNet.sln"
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Build /p:Configuration=Release /p:VersionPrefix=2.1.%APPVEYOR_BUILD_NUMBER% "src\Vlc.DotNet.sln"
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Pack /p:Configuration=Release /p:VersionPrefix=2.1.%APPVEYOR_BUILD_NUMBER% "src\Vlc.DotNet.Core.Interops\Vlc.DotNet.Core.Interops.csproj"
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Pack /p:Configuration=Release /p:VersionPrefix=2.1.%APPVEYOR_BUILD_NUMBER% "src\Vlc.DotNet.Core\Vlc.DotNet.Core.csproj"
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Pack /p:Configuration=Release /p:VersionPrefix=2.1.%APPVEYOR_BUILD_NUMBER% "src\Vlc.DotNet.Forms\Vlc.DotNet.Forms.csproj"
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Pack /p:Configuration=Release /p:VersionPrefix=2.1.%APPVEYOR_BUILD_NUMBER% "src\Vlc.DotNet.Wpf\Vlc.DotNet.Wpf.csproj"
- ps: 7z a "C:\projects\vlc-dotnet-master\Vlc.DotNet for Vlc 2.1.x - AnyCPU - .Net 2.0.zip" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core\bin\Release\net20\Vlc.DotNet.Core.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core.Interops\bin\Release\net20\Vlc.DotNet.Core.Interops.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Forms\bin\Release\net20\Vlc.DotNet.Forms.dll"
- ps: 7z a "C:\projects\vlc-dotnet-master\Vlc.DotNet for Vlc 2.1.x - AnyCPU - .Net 3.5.zip" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core\bin\Release\net35\Vlc.DotNet.Core.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core.Interops\bin\Release\net35\Vlc.DotNet.Core.Interops.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Forms\bin\Release\net35\Vlc.DotNet.Forms.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Forms\bin\Release\net35\Vlc.DotNet.Wpf.dll"
- ps: 7z a "C:\projects\vlc-dotnet-master\Vlc.DotNet for Vlc 2.1.x - AnyCPU - .Net 4.0.zip" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core\bin\Release\net40\Vlc.DotNet.Core.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core.Interops\bin\Release\net40\Vlc.DotNet.Core.Interops.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Forms\bin\Release\net40\Vlc.DotNet.Forms.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Forms\bin\Release\net40\Vlc.DotNet.Wpf.dll"
- ps: 7z a "C:\projects\vlc-dotnet-master\Vlc.DotNet for Vlc 2.1.x - AnyCPU - .Net 4.5.zip" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core\bin\Release\net45\Vlc.DotNet.Core.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core.Interops\bin\Release\net45\Vlc.DotNet.Core.Interops.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Forms\bin\Release\net45\Vlc.DotNet.Forms.dll" "C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Forms\bin\Release\net45\Vlc.DotNet.Wpf.dll"
- ps: 7z a "C:\projects\vlc-dotnet-master\nuget-packages.zip" C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core\bin\Release\*.nupkg C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core.Interops\bin\Release\*.nupkg C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Forms\bin\Release\*.nupkg C:\projects\vlc-dotnet-master\src\Vlc.DotNet.Core.Wpf\bin\Release\*.nupkg
artifacts:
- path: "**/*.zip"
name: "Vlc.DotNet for Vlc 2.1.x"
- path: "**/*.nupkg"
name: "Vlc.DotNet for Vlc 2.1.x NuGet Packages"
deploy:
- provider: NuGet
api_key:
secure: OriZXhNZQOSzNsBXQsoUBOScm5K9AJ9HLZBGL+Gcsrj5VcVCAXpA1Rv3vaGHmnRE
artifact: /.*\.nupkg/
-
image: Visual Studio 2017
version: 2.2.0-develop{build}
branches:
only:
- develop
skip_tags: true
init:
- git config --global core.autocrlf input
clone_folder: C:\projects\vlc-dotnet-master\
shallow_clone: true
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "2.2.0"
assembly_file_version: "2.2.0.0"
assembly_informational_version: "2.2.0.0"
build_script:
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Restore /p:VersionPrefix=2.2.0 /p:VersionSuffix=develop%APPVEYOR_BUILD_NUMBER% /Verbosity:Minimal "src\Vlc.DotNet.sln"
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Build /p:Configuration=Release /p:VersionPrefix=2.2.0 /p:VersionSuffix=develop%APPVEYOR_BUILD_NUMBER% "src\Vlc.DotNet.sln"
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Pack /p:Configuration=Release /p:VersionPrefix=2.2.0 /p:VersionSuffix=develop%APPVEYOR_BUILD_NUMBER% "src\Vlc.DotNet.Core.Interops\Vlc.DotNet.Core.Interops.csproj"
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Pack /p:Configuration=Release /p:VersionPrefix=2.2.0 /p:VersionSuffix=develop%APPVEYOR_BUILD_NUMBER% "src\Vlc.DotNet.Core\Vlc.DotNet.Core.csproj"
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Pack /p:Configuration=Release /p:VersionPrefix=2.2.0 /p:VersionSuffix=develop%APPVEYOR_BUILD_NUMBER% "src\Vlc.DotNet.Forms\Vlc.DotNet.Forms.csproj"
- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Pack /p:Configuration=Release /p:VersionPrefix=2.2.0 /p:VersionSuffix=develop%APPVEYOR_BUILD_NUMBER% "src\Vlc.DotNet.Wpf\Vlc.DotNet.Wpf.csproj"
artifacts:
- path: "**/*.nupkg"
name: "Vlc.DotNet NuGet Packages"
deploy:
- provider: NuGet
api_key:
secure: OriZXhNZQOSzNsBXQsoUBOScm5K9AJ9HLZBGL+Gcsrj5VcVCAXpA1Rv3vaGHmnRE
artifact: /.*\.nupkg/