File tree Expand file tree Collapse file tree 3 files changed +84
-0
lines changed Expand file tree Collapse file tree 3 files changed +84
-0
lines changed Original file line number Diff line number Diff line change
1
+ pool :
2
+ vmImage : ' macOS-12'
3
+
4
+ variables :
5
+ solution : ' **/*.sln'
6
+ buildPlatform : ' Any CPU'
7
+ buildConfiguration : ' Release'
8
+
9
+ steps :
10
+ - task : NuGetToolInstaller@1
11
+
12
+ - task : NuGetCommand@2
13
+ inputs :
14
+ restoreSolution : ' $(solution)'
15
+
16
+ - task : DotNetCoreCLI@2
17
+ inputs :
18
+ command : build
19
+ projects : ' $(solution)'
20
+ configuration : ' $(buildConfiguration)'
21
+ arguments : ' --configuration $(buildConfiguration) -p:Platform="$(buildPlatform)"'
22
+
23
+ - task : DotNetCoreCLI@2
24
+ inputs :
25
+ command : test
26
+ projects : ' $(solution)'
27
+ configuration : ' $(buildConfiguration)'
28
+ arguments : ' --configuration $(buildConfiguration) -p:Platform="$(buildPlatform)"'
Original file line number Diff line number Diff line change
1
+ pool :
2
+ vmImage : ' ubuntu-22.04'
3
+
4
+ variables :
5
+ solution : ' **/*.sln'
6
+ buildPlatform : ' Any CPU'
7
+ buildConfiguration : ' Release'
8
+
9
+ steps :
10
+ - task : NuGetToolInstaller@1
11
+
12
+ - task : NuGetCommand@2
13
+ inputs :
14
+ restoreSolution : ' $(solution)'
15
+
16
+ - task : DotNetCoreCLI@2
17
+ inputs :
18
+ command : build
19
+ projects : ' $(solution)'
20
+ configuration : ' $(buildConfiguration)'
21
+ arguments : ' --configuration $(buildConfiguration) -p:Platform="$(buildPlatform)"'
22
+
23
+ - task : DotNetCoreCLI@2
24
+ inputs :
25
+ command : test
26
+ projects : ' $(solution)'
27
+ configuration : ' $(buildConfiguration)'
28
+ arguments : ' --configuration $(buildConfiguration) -p:Platform="$(buildPlatform)"'
Original file line number Diff line number Diff line change
1
+ pool :
2
+ vmImage : ' windows-2022'
3
+
4
+ variables :
5
+ solution : ' **/*.sln'
6
+ buildPlatform : ' Any CPU'
7
+ buildConfiguration : ' Release'
8
+
9
+ steps :
10
+ - task : NuGetToolInstaller@1
11
+
12
+ - task : NuGetCommand@2
13
+ inputs :
14
+ restoreSolution : ' $(solution)'
15
+
16
+ - task : DotNetCoreCLI@2
17
+ inputs :
18
+ command : build
19
+ projects : ' $(solution)'
20
+ configuration : ' $(buildConfiguration)'
21
+ arguments : ' --configuration $(buildConfiguration) -p:Platform="$(buildPlatform)"'
22
+
23
+ - task : DotNetCoreCLI@2
24
+ inputs :
25
+ command : test
26
+ projects : ' $(solution)'
27
+ configuration : ' $(buildConfiguration)'
28
+ arguments : ' --configuration $(buildConfiguration) -p:Platform="$(buildPlatform)"'
You can’t perform that action at this time.
0 commit comments