forked from dotnet/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vsts-ci-richnav.yml
89 lines (84 loc) · 2.63 KB
/
.vsts-ci-richnav.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
trigger:
batch: true
branches:
include:
- main
- release/*.*
pr: none
variables:
- name: teamName
value: Roslyn-Project-System
- name: _DotNetPublishToBlobFeed
value: false
- name: _DotNetArtifactsCategory
value: .NETCore
- name: _DotNetValidationArtifactsCategory
value: .NETCore
- name: _PublishToAzure
value: false
- name: PostBuildSign
value: true
stages:
- stage: build
displayName: Build
jobs:
- template: /eng/common/templates/job/job.yml
parameters:
name: Windows_NT_FullFramework
enableRichCodeNavigation: true
richCodeNavigationLanguage: 'csharp'
richCodeNavigationEnvironment: 'production'
pool:
name: NetCore1ESPool-Public
demands: ImageOverride -equals Build.Windows.10.Amd64.VS2019.Pre.Open
timeoutInMinutes: 180
strategy:
matrix:
Build_Debug:
_BuildConfig: Debug
_PublishType: none
_SignType: test
_Test: -test
workspace:
clean: all
variables:
- _AgentOSName: Windows_NT_FullFramework
- _TeamName: DotNetCore
- _OfficialBuildIdArgs: ''
- _PublishArgs: ''
- _SignArgs: ''
- _InternalRuntimeDownloadArgs: ''
steps:
- script: eng\CIBuild.cmd
-configuration $(_BuildConfig)
$(_PublishArgs)
$(_SignArgs)
$(_OfficialBuildIdArgs)
$(_InternalRuntimeDownloadArgs)
/p:Test=false
displayName: Build
env:
BuildConfig: $(_BuildConfig)
BlobFeedUrl: $(PB_PublishBlobFeedUrl)
PublishType: $(_PublishType)
TestFullMSBuild: 'true'
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
- task: CopyFiles@2
displayName: Gather Logs
inputs:
SourceFolder: '$(Build.SourcesDirectory)/artifacts'
Contents: |
log/$(_BuildConfig)/**/*
TestResults/$(_BuildConfig)/**/*
SymStore/$(_BuildConfig)/**/*
TargetFolder: '$(Build.ArtifactStagingDirectory)'
continueOnError: true
condition: always()
- task: PublishBuildArtifacts@1
displayName: Publish Logs to VSTS
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: '$(_AgentOSName)_$(Agent.JobName)_$(Build.BuildNumber)'
publishLocation: Container
continueOnError: true
condition: always()