forked from dotnet/roslyn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-richnav.yml
43 lines (39 loc) · 997 Bytes
/
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
# 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/*
jobs:
- job: RichCodeNav_Indexing
pool:
name: NetCore1ESPool-Public
demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre.Open
variables:
EnableRichCodeNavigation: true
timeoutInMinutes: 200
steps:
- task: PowerShell@2
displayName: Build
inputs:
filePath: eng/build.ps1
arguments: -ci -restore -build -binaryLog -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