2022-02-09 08:47:16 +01:00
|
|
|
image: Visual Studio 2022
|
2018-06-12 10:16:35 +02:00
|
|
|
|
2017-10-17 17:24:53 +02:00
|
|
|
|
|
|
|
install:
|
2023-01-24 14:23:16 +01:00
|
|
|
- choco install gitversion.portable -y --version 5.12.0
|
2017-10-17 17:24:53 +02:00
|
|
|
|
|
|
|
before_build:
|
|
|
|
- nuget restore
|
2019-10-01 10:18:02 +02:00
|
|
|
- ps: gitversion /l console /output buildserver
|
|
|
|
- ps: build\UpdateVersion.ps1
|
2017-10-17 17:24:53 +02:00
|
|
|
|
2022-02-09 09:18:46 +01:00
|
|
|
environment:
|
2022-02-09 12:26:01 +01: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 09:18:46 +01:00
|
|
|
|
2017-10-17 17:24:53 +02:00
|
|
|
after_build:
|
2021-09-06 15:11:51 +02:00
|
|
|
# Create NuGet packages
|
2022-02-09 09:18:46 +01: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 15:11:51 +02: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 17:24:53 +02:00
|
|
|
build:
|
|
|
|
project: Tapeti.sln
|
|
|
|
|
2022-11-23 11:06:44 +01:00
|
|
|
test_script:
|
2022-11-23 11:16:06 +01:00
|
|
|
- dotnet test Tapeti.Tests\bin\Release\net6.0\Tapeti.Tests.dll --filter "Category!=Requires Docker"
|
|
|
|
- dotnet test Tapeti.Tests\bin\Release\net7.0\Tapeti.Tests.dll --filter "Category!=Requires Docker"
|
2022-11-23 09:19:01 +01:00
|
|
|
|
2017-10-17 17:24:53 +02:00
|
|
|
platform:
|
|
|
|
- Any CPU
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
|
|
|
|
deploy:
|
2021-09-06 15:07:03 +02:00
|
|
|
- provider: NuGet
|
|
|
|
api_key:
|
2024-11-04 10:42:43 +01:00
|
|
|
secure: yR7Sj3XoMgWBEj2roujkdErQYgGo22X//FqpCcE4AHQ4i/EyFjqETv1hxC06GCtg
|
2018-06-14 15:50:45 +02:00
|
|
|
|
2021-09-06 15:07:03 +02:00
|
|
|
skip_symbols: false
|
2021-10-07 15:38:43 +02:00
|
|
|
artifact: /.*(\.|\.s)nupkg/
|