forked from dotnet/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vsts-ci-richnav.yml
87 lines (82 loc) · 2.61 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
trigger:
batch: true
branches:
include:
- main
- release/*.*
pr: none
variables:
- name: teamName
value: Roslyn-Project-System
- name: PostBuildSign
value: true
- template: /eng/common/templates/variables/pool-providers.yml
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: $(DncEngPublicBuildPool)
demands: ImageOverride -equals windows.vs2019.amd64.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:
- powershell: eng\common\build.ps1
-restore
-ci
-build
-pack
-sign
-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()