forked from cmxl/FFmpeg.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
37 lines (29 loc) · 943 Bytes
/
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
version: 3.4.0
environment:
nuget_token:
secure: uOmY35KbgtkniOaosUIGJgx8iV3sQB/Q2JqYxvroymNJCwF21ml28UyFUdoz0jNg
branches:
only:
- master
skip_branch_with_pr: true
skip_tags: true
max_jobs: 1
image: Visual Studio 2017
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: "{version}"
package_version: "{version}"
assembly_version: "{version}"
file_version: "{version}"
informational_version: "{version}"
matrix:
fast_finish: true
build_script:
- cmd: dotnet restore
- cmd: dotnet build FFmpeg.NET.sln -c Release /p:DebugType=Full
- cmd: dotnet test tests\FFmpeg.NET.Tests\FFmpeg.NET.Tests.csproj
- cmd: dotnet pack -c Release --no-build --include-symbols -o artifacts /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet nuget push src\FFmpeg.NET\artifacts\xFFmpeg.NET.%APPVEYOR_BUILD_VERSION%.nupkg -k %nuget_token% -s https://www.nuget.org/api/v2/package
test: off