-
Notifications
You must be signed in to change notification settings - Fork 4.1k
/
azure-pipelines-integration.yml
41 lines (37 loc) · 1.38 KB
/
azure-pipelines-integration.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
41
phases:
- phase: Windows_VisualStudio_Integration_Tests
queue:
name: dotnet-external-temp-vs2017
timeoutInMinutes: 90
parallel: 2
matrix:
debug:
_configuration: Debug
release:
_configuration: Release
steps:
- script: build/scripts/cibuild.cmd -configuration $(_configuration) -testVsi
displayName: Build and Test
- task: PublishTestResults@1
inputs:
testRunner: XUnit
testResultsFiles: $(Build.SourcesDirectory)\Binaries\TestResults\$(_configuration)\*.xml
mergeTestResults: true
testRunTitle: 'Windows Visual Studio Integration $(_configuration)'
condition: always()
- task: PublishBuildArtifacts@1
displayName: Publish Logs
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\Binaries\$(_configuration)\Logs'
ArtifactName: 'Windows Visual Studio Integration $(_configuration)'
publishLocation: Container
continueOnError: true
condition: not(succeeded())
- task: PublishBuildArtifacts@1
displayName: Publish Screenshots
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\Binaries\$(_configuration)\UnitTests\Microsoft.VisualStudio.LanguageServices.IntegrationTests\xUnitResults/'
ArtifactName: 'Screenshots $(_configuration)'
publishLocation: Container
continueOnError: true
condition: not(succeeded())