Azure pipelines: tests and pack
This commit is contained in:
parent
4b90063090
commit
64ec29196b
@ -12,3 +12,19 @@ variables:
|
||||
steps:
|
||||
- script: dotnet build --configuration $(buildConfiguration)
|
||||
displayName: 'dotnet build $(buildConfiguration)'
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'dotnet test $(buildConfiguration)'
|
||||
inputs:
|
||||
command: test
|
||||
projects: '**/*Tests/*.csproj'
|
||||
arguments: '--configuration $(buildConfiguration)'
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
inputs:
|
||||
command: 'pack'
|
||||
packagesToPack: '**/*.csproj'
|
||||
configuration: 'release'
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'publish artifacts'
|
||||
|
Loading…
x
Reference in New Issue
Block a user