Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

Commit e991f92

Browse files
author
Sergey Kanzhelev
committed
ci build definition
1 parent d4672a0 commit e991f92

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.vsts/ci-build-windows.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
queue:
2+
name: Hosted VS2017
3+
steps:
4+
- task: DotNetCoreInstaller@0
5+
inputs:
6+
version: "2.0.3"
7+
8+
- task: DotNetCoreCLI@1
9+
inputs:
10+
command: "restore"
11+
projects: "*.sln"
12+
13+
- task: DotNetCoreCLI@1
14+
inputs:
15+
command: "build"
16+
projects: "*.sln"
17+
arguments: "--configuration Release"
18+
19+
- task: DotNetCoreCLI@1
20+
inputs:
21+
command: "test"
22+
projects: "Test/**/*netcoreapp20*.csproj"
23+
arguments: "--configuration Release --filter TestCategory!=WindowsOnly"
24+
25+
- task: PublishTestResults@2
26+
27+
- task: DotNetCoreCLI@1
28+
inputs:
29+
command: "publish"
30+
publishWebProjects: "True"
31+
arguments: "--configuration Release --output $(build.artifactstagingdirectory)"
32+
zipAfterPublish: "True"
33+
34+
- task: PublishBuildArtifacts@1
35+
inputs:
36+
PathtoPublish: "$(build.artifactstagingdirectory)"
37+
ArtifactName: "drop"
38+
ArtifactType: "Container"

0 commit comments

Comments
 (0)