forked from clariuslabs/clide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tfs.yml
40 lines (33 loc) · 1.13 KB
/
tfs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
queue: Hosted VS2017
steps:
- checkout: self
clean: true
- task: MSBuild@1
displayName: Restore
inputs:
solution: build.proj
msbuildArguments: /t:Restore /p:Dev=14.0 /bl:"$(Build.ArtifactStagingDirectory)\restore.binlog"
- task: MSBuild@1
displayName: Build
inputs:
solution: build.proj
msbuildArguments: /t:Build /p:Dev=14.0 /p:PackageOutputPath="$(Build.ArtifactStagingDirectory)" /bl:"$(Build.ArtifactStagingDirectory)\build.binlog"
- task: VSTest@2
displayName: Test
inputs:
testAssemblyVer2: src\Clide.UnitTests\bin\*\net461\Clide.UnitTests.dll
runInParallel: 'true'
codeCoverageEnabled: 'true'
publishRunAttachments: 'true'
- task: MSBuild@1
displayName: Push
inputs:
solution: build.proj
msbuildArguments: /t:Package,Push /p:Dev=14.0 /p:PackageOutputPath="$(Build.ArtifactStagingDirectory)" /p:StorageAccessKey=$(StorageAccessKey) /bl:"$(Build.ArtifactStagingDirectory)\push.binlog"
- task: PublishBuildArtifacts@1
displayName: Publish Artifact
condition: always()
inputs:
PathtoPublish: $(Build.ArtifactStagingDirectory)
ArtifactName: output
ArtifactType: Container