| @@ -0,0 +1,51 @@ |
|
|
|
1 |
+# Copyright (C) Microsoft Corporation. All rights reserved. |
|
2 |
+# Licensed under the MIT license. See LICENSE.txt in the project root for license information. |
|
3 |
+ |
|
4 |
+variables: |
|
5 |
+BuildConfiguration: Release |
|
6 |
+ |
|
7 |
+trigger: |
|
8 |
+batch: true |
|
9 |
+branches: |
|
10 |
+include: |
|
11 |
+ - main |
|
12 |
+paths: |
|
13 |
+exclude: |
|
14 |
+ - README.md |
|
15 |
+ |
|
16 |
+pr: none |
|
17 |
+ |
|
18 |
+queue: |
|
19 |
+name: VSEngSS-MicroBuild2019-1ES |
|
20 |
+timeoutInMinutes: 120 |
|
21 |
+ |
|
22 |
+steps: |
|
23 |
+ |
|
24 |
+- task: DotNetCoreCLI@2 |
|
25 |
+displayName: Build |
|
26 |
+inputs: |
|
27 |
+command: 'build' |
|
28 |
+projects: 'VSConfigFinder' |
|
29 |
+arguments: '--configuration $(BuildConfiguration)' |
|
30 |
+ |
|
31 |
+- task: DotNetCoreCLI@2 |
|
32 |
+displayName: Test |
|
33 |
+inputs: |
|
34 |
+command: 'test' |
|
35 |
+projects: 'VSConfigFinder.Test' |
|
36 |
+arguments: '--configuration $(BuildConfiguration)' |
|
37 |
+ |
|
38 |
+- task: CopyFiles@2 |
|
39 |
+displayName: Copy build artifacts |
|
40 |
+inputs: |
|
41 |
+SourceFolder: $(Build.SourcesDirectory) |
|
42 |
+Contents: | |
|
43 |
+ bin\$(BuildConfiguration)\** |
|
44 |
+ TargetFolder: $(Build.ArtifactStagingDirectory)\out |
|
45 |
+ |
|
46 |
+- task: PublishBuildArtifacts@1 |
|
47 |
+displayName: Publish build artifacts |
|
48 |
+inputs: |
|
49 |
+PathtoPublish: $(Build.ArtifactStagingDirectory)\out |
|
50 |
+ArtifactName: drop |
|
51 |
+publishLocation: Container |