Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rich Code Navigation Indexing #5790

Merged
merged 9 commits into from
Oct 13, 2020
6 changes: 6 additions & 0 deletions .vsts-dotnet-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ jobs:
inputs:
filename: 'eng/cibuild_bootstrapped_msbuild.cmd'
arguments: '-msbuildEngine dotnet'
- task: RichCodeNavIndexer@0
Copy link
Member

@Forgind Forgind Oct 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it intentional to only add this to the Core on Windows build? (As opposed to any of the others)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, mostly just picked a build :) We have a requirement to run on Windows, but otherwise no reason to do "Windows Core" over "Windows Full"

displayName: RichCodeNav Upload
inputs:
languages: 'csharp'
continueOnError: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to add a condition?

condition: succeeded()
- task: PublishTestResults@2
displayName: Publish .NET Framework Test Results
inputs:
Expand Down
24 changes: 24 additions & 0 deletions .vsts-dotnet-richnav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
trigger:
- master
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to also trigger for exp/* and vs*

- exp/*
- vs*

jobs:
- job: RichCodeNavigationIndexingOnWindows
displayName: "Rich Navigation Indexing"
pool:
vmImage: 'windows-2019'
variables:
EnableRichCodeNavigation: true
steps:
- task: Powershell@2
displayName: build
inputs:
filePath: eng/common/build.ps1
arguments: '-restore -build -ci /nr:false'
- task: RichCodeNavIndexer@0
displayName: RichCodeNav Upload
inputs:
languages: 'csharp'
continueOnError: true
condition: succeeded()