Add Rich Nav task to normal CI, add new Rich Nav pipeline (#2623)

* Add Rich Nav task to normal CI, add new Rich Nav pipeline

* Fix typo

* Try getting _BuildConfig value from variables

* Temp: fix eng script that's broken in arcade to test rich nav pipeline

* Add Rich Nav feed to Nuget.Config

* Fix regular CI to actually run Rich Nav for windows builds

* Remove Rich Nav from regular CI, respond to PR feedback

* Fix typo, start specifying language

* Fix typos in Rich Nav script discovered while executing the build
This commit is contained in:
Jessica Petty 2020-10-21 18:51:53 -07:00 коммит произвёл GitHub
Родитель a9149fe2cd
Коммит 21fcba4f29
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 60 добавлений и 0 удалений

Просмотреть файл

@ -14,6 +14,8 @@
<add key="vssdk" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json" />
<add key="vs-impl" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-impl/nuget/v3/index.json" />
<add key="vs-editor-mac" value="https://www.myget.org/F/vs-editor/api/v3/index.json" />
<!-- Used for the Rich Navigation indexing task -->
<add key="richnav" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-buildservices/nuget/v3/index.json" />
</packageSources>
<disabledPackageSources />
</configuration>

Просмотреть файл

@ -0,0 +1,58 @@
#
# See https://docs.microsoft.com/azure/devops/pipelines/yaml-schema for reference.
#
variables:
- name: Build.Repository.Clean
value: true
trigger:
branches:
include:
- master
pr:
autoCancel: true
branches:
include:
- master
stages:
- stage: build
displayName: Build
jobs:
- template: /eng/common/templates/jobs/jobs.yml
parameters:
helixRepo: dotnet/aspnetcore-tooling
helixType: build.product/
enableRichCodeNavigation: true
richCodeNavigationEnvironment: 'production'
richCodeNavigationLanguage: 'csharp,typescript'
jobs:
- job: Windows
pool:
name: NetCorePublic-Pool
queue: buildpool.windows.10.amd64.vs2019.pre.open
steps:
- task: NodeTool@0
displayName: Install Node 10.x
inputs:
versionSpec: 10.x
- powershell: npm install -g yarn
displayName: Install yarn
condition: succeeded()
- task: NuGetCommand@2
displayName: 'Clear NuGet caches'
condition: succeeded()
inputs:
command: custom
arguments: 'locals all -clear'
- script: eng\common\cibuild.cmd
-configuration Debug
-msbuildEngine dotnet
-prepareMachine
name: Build
displayName: Build
condition: succeeded()