Skip to content

Commit 594a626

Browse files
authored
Alter CI to run Rich Navigation, add new Rich Nav specific pipeline (#22964)
1 parent 58bcdd5 commit 594a626

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

Diff for: NuGet.config

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
88
<add key="dotnet6-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6-transport/nuget/v3/index.json" />
99
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
10+
<!-- Used for the Rich Navigation indexing task -->
11+
<add key="richnav" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-buildservices/nuget/v3/index.json" />
1012
</packageSources>
1113
<disabledPackageSources />
1214
</configuration>

Diff for: azure-pipelines-richnav.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
trigger:
2+
branches:
3+
include:
4+
- main
5+
6+
stages:
7+
- stage: build
8+
displayName: Build
9+
jobs:
10+
- template: eng/common/templates/jobs/jobs.yml
11+
parameters:
12+
enableMicrobuild: true
13+
enableRichCodeNavigation: true
14+
richCodeNavigationEnvironment: production
15+
helixRepo: dotnet/efcore
16+
jobs:
17+
- job: Windows
18+
timeoutInMinutes: 90
19+
enablePublishTestResults: true
20+
pool:
21+
name: NetCorePublic-Pool
22+
queue: BuildPool.Server.Amd64.VS2017.Open
23+
steps:
24+
- task: NuGetCommand@2
25+
displayName: 'Clear NuGet caches'
26+
condition: succeeded()
27+
inputs:
28+
command: custom
29+
arguments: 'locals all -clear'
30+
31+
- task: PowerShell@2
32+
inputs:
33+
filePath: $(Build.SourcesDirectory)\eng\common\build.ps1
34+
arguments: -restore -build -ci
35+
displayName: Build

0 commit comments

Comments
 (0)