mirror of
https://github.com/jellyfin/TMDbLib.git
synced 2024-11-27 07:40:24 +00:00
27 lines
787 B
YAML
27 lines
787 B
YAML
image: Visual Studio 2017
|
|
build_script:
|
|
- ps: >-
|
|
[xml]$doc = (Get-Content .\TMDbLib\TMDbLib.csproj)
|
|
|
|
$version = $doc.Project.PropertyGroup.VersionPrefix
|
|
|
|
Update-AppveyorBuild -Version "$version build $env:APPVEYOR_BUILD_NUMBER"
|
|
- ps: # Core
|
|
- ps: msbuild /t:Restore
|
|
- ps: # Build Library
|
|
- ps: msbuild /t:Build /p:Configuration=Release TMDbLib
|
|
- ps: # Library
|
|
- ps: msbuild /t:Pack /p:Configuration=Release /p:OutputPath=..\Nuget\ TMDbLib
|
|
- ps: # Test app
|
|
- ps: msbuild /t:Build /p:Configuration=Release TestApplication
|
|
- ps: # Tests
|
|
- ps: msbuild /t:Build /p:Configuration=Release TMDbLibTests
|
|
test: off
|
|
artifacts:
|
|
- path: Nuget\*.nupkg
|
|
deploy:
|
|
- provider: NuGet
|
|
api_key:
|
|
secure: b7EJLsMmhEzzEgx9lLU8+4oPRSSnZc8Ef3JkYCt25w1wfxMYo//1X+FOwbtkCdkM
|
|
on:
|
|
branch: nuget |