File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ trigger :
2
+ - master
3
+
4
+ pool :
5
+ vmImage : ' windows-2019'
6
+
7
+ variables :
8
+ solution : ' *.sln'
9
+ buildPlatform : ' Any CPU'
10
+ buildConfiguration : ' Release'
11
+
12
+ steps :
13
+ - task : NuGetToolInstaller@0
14
+ displayName : ' Use NuGet 5.4.0'
15
+ inputs :
16
+ versionSpec : 5.4.0
17
+
18
+ - task : NuGetCommand@2
19
+ displayName : ' NuGet restore'
20
+ inputs :
21
+ command : ' restore'
22
+ restoreSolution : ' $(solution)'
23
+
24
+ - task : VSBuild@1
25
+ displayName : ' Build solution'
26
+ inputs :
27
+ solution : ' $(solution)'
28
+ platform : ' $(buildPlatform)'
29
+ configuration : ' $(buildConfiguration)'
30
+
31
+ - task : VSTest@2
32
+ displayName : ' Test solution'
33
+ inputs :
34
+ platform : ' $(buildPlatform)'
35
+ configuration : ' $(buildConfiguration)'
36
+
37
+ - task : PublishBuildArtifacts@1
38
+ displayName : ' Publish build artifacts'
39
+ inputs :
40
+ pathtoPublish : src\Atc.AutoFormatter\bin\$(buildConfiguration)
41
+ artifactName : drop
You can’t perform that action at this time.
0 commit comments