-
Notifications
You must be signed in to change notification settings - Fork 21
/
appveyor.yml
38 lines (31 loc) · 1019 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
38
version: '21.9.{build}'
image: Visual Studio 2022
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
environment:
matrix:
- solution_name: MP-MediaInfo.sln
test_project: MediaInfo.Wrapper.Tests.csproj
- solution_name: MP-MediaInfo.Core.sln
test_project: MediaInfo.Wrapper.Core.Tests.csproj
before_build:
- cmd: >-
dotnet restore %solution_name%
# to run your custom scripts instead of automatic MSBuild
build_script:
- cmd: msbuild %solution_name% /verbosity:minimal /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
test_script:
- cmd: >-
dotnet test .\MediaInfo.Wrapper.Tests\%test_project% /p:Configuration=Release
artifacts:
- path: .\MediaInfo.Wrapper\bin\Release\*.nupkg
name: package
- path: .\MediaInfo.Wrapper\bin\Release\*.snupkg
name: 'debug package'