forked from dotnet/roslyn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines-richnav.yml
71 lines (65 loc) · 1.56 KB
/
azure-pipelines-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
# Branches that trigger a build on commit
trigger:
- main
- main-vs-deps
- release/*
- features/*
- demos/*
# Branches that trigger builds on PR
pr: none
# Temporarily disabling richnav job on PRs
# pr:
# - main
# - main-vs-deps
# - release/*
# - features/*
# - demos/*
variables:
- name: Codeql.Enabled
value: false
- name: Codeql.SkipTaskAutoInjection
value: true
parameters:
- name: poolName
displayName: Pool Name
type: string
default: NetCore-Public
values:
- NetCore-Public
- NetCore-Svc-Public
- name: queueName
displayName: Queue Name
type: string
default: windows.vs2022preview.amd64.open
values:
- windows.vs2022.amd64.open
- windows.vs2022.scout.amd64.open
- windows.vs2022preview.amd64.open
- windows.vs2022preview.scout.amd64.open
- name: timeout
displayName: Timeout in Minutes
type: number
default: 260
jobs:
- job: RichCodeNav_Indexing
pool:
name: ${{ parameters.poolName }}
demands: ImageOverride -equals ${{ parameters.queueName }}
timeoutInMinutes: ${{ parameters.timeout }}
variables:
EnableRichCodeNavigation: true
steps:
- task: PowerShell@2
displayName: Build
inputs:
filePath: eng/build.ps1
arguments: -ci -restore -build -configuration Debug -prepareMachine
- task: RichCodeNavIndexer@0
displayName: RichCodeNav Upload
inputs:
languages: 'csharp'
environment: production
richNavLogOutputDirectory: $(Build.SourcesDirectory)/artifacts/bin
continueOnError: true
env:
DOTNET_ROOT: $(Build.SourcesDirectory)/.dotnet