2022-02-09 07:47:16 +00:00
|
|
|
image: Visual Studio 2022
|
2018-06-12 08:16:35 +00:00
|
|
|
|
2017-10-17 15:24:53 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- choco install gitversion.portable -pre -y
|
|
|
|
|
|
|
|
before_build:
|
|
|
|
- nuget restore
|
2019-10-01 08:18:02 +00:00
|
|
|
- ps: gitversion /l console /output buildserver
|
|
|
|
- ps: build\UpdateVersion.ps1
|
2017-10-17 15:24:53 +00:00
|
|
|
|
2022-02-09 08:18:46 +00:00
|
|
|
environment:
|
2022-02-09 11:26:01 +00:00
|
|
|
pack_params: -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:PublishRepositoryUrl=true -p:EmbedUntrackedSources=true --output output -p:Configuration=Release -p:ContinuousIntegrationBuild=true
|
2022-02-09 08:18:46 +00:00
|
|
|
|
2017-10-17 15:24:53 +00:00
|
|
|
after_build:
|
2021-09-06 13:11:51 +00:00
|
|
|
# Create NuGet packages
|
2022-02-09 08:18:46 +00:00
|
|
|
- cmd: dotnet pack Tapeti\Tapeti.csproj %pack_params% -p:Version=%GitVersion_NuGetVersion%
|
|
|
|
- cmd: dotnet pack Tapeti.DataAnnotations\Tapeti.DataAnnotations.csproj %pack_params% -p:Version=%GitVersion_NuGetVersion%
|
|
|
|
- cmd: dotnet pack Tapeti.Flow\Tapeti.Flow.csproj %pack_params% -p:Version=%GitVersion_NuGetVersion%
|
|
|
|
- cmd: dotnet pack Tapeti.Flow.SQL\Tapeti.Flow.SQL.csproj %pack_params% -p:Version=%GitVersion_NuGetVersion%
|
|
|
|
- cmd: dotnet pack Tapeti.Transient\Tapeti.Transient.csproj %pack_params% -p:Version=%GitVersion_NuGetVersion%
|
|
|
|
- cmd: dotnet pack Tapeti.Serilog\Tapeti.Serilog.csproj %pack_params% -p:Version=%GitVersion_NuGetVersion%
|
|
|
|
- cmd: dotnet pack Tapeti.SimpleInjector\Tapeti.SimpleInjector.csproj %pack_params% -p:Version=%GitVersion_NuGetVersion%
|
|
|
|
- cmd: dotnet pack Tapeti.Autofac\Tapeti.Autofac.csproj %pack_params% -p:Version=%GitVersion_NuGetVersion%
|
|
|
|
- cmd: dotnet pack Tapeti.CastleWindsor\Tapeti.CastleWindsor.csproj %pack_params% -p:Version=%GitVersion_NuGetVersion%
|
|
|
|
- cmd: dotnet pack Tapeti.Ninject\Tapeti.Ninject.csproj %pack_params% -p:Version=%GitVersion_NuGetVersion%
|
2021-09-06 13:11:51 +00:00
|
|
|
# Push artifacts
|
|
|
|
- ps: Get-ChildItem output\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
- ps: Get-ChildItem output\*.snupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
|
2017-10-17 15:24:53 +00:00
|
|
|
build:
|
|
|
|
project: Tapeti.sln
|
|
|
|
|
2022-11-23 08:19:01 +00:00
|
|
|
test:
|
|
|
|
categories:
|
|
|
|
except:
|
|
|
|
- Requires Docker
|
|
|
|
|
2017-10-17 15:24:53 +00:00
|
|
|
platform:
|
|
|
|
- Any CPU
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
|
|
|
|
deploy:
|
2021-09-06 13:07:03 +00:00
|
|
|
- provider: NuGet
|
|
|
|
api_key:
|
2022-10-20 07:14:27 +00:00
|
|
|
secure: Bl47U4FsBedTdYMisLIrrm8vOUlnnJa6dcRwk8rfFb8hIn38R6PrMc8D+zltoR9n
|
2018-06-14 13:50:45 +00:00
|
|
|
|
2021-09-06 13:07:03 +00:00
|
|
|
skip_symbols: false
|
2021-10-07 13:38:43 +00:00
|
|
|
artifact: /.*(\.|\.s)nupkg/
|