razor-tooling/azure-pipelines-richnav.yml

66 строки
1.6 KiB
YAML
Исходник Обычный вид История

#
# See https://docs.microsoft.com/azure/devops/pipelines/yaml-schema for reference.
#
variables:
- name: Build.Repository.Clean
value: true
trigger:
branches:
include:
- main
pr:
autoCancel: true
branches:
include:
- main
stages:
- stage: build
displayName: Build
jobs:
- template: /eng/common/templates/jobs/jobs.yml
parameters:
2021-10-08 00:47:55 +03:00
helixRepo: dotnet/razor-tooling
helixType: build.product/
enableRichCodeNavigation: true
richCodeNavigationEnvironment: 'production'
richCodeNavigationLanguage: 'csharp,typescript'
jobs:
- job: Windows
pool:
2022-09-01 06:39:52 +03:00
name: NetCore-Public
2022-09-28 02:28:27 +03:00
demands: ImageOverride -equals windows.vs2019.amd64.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'
2022-10-14 02:02:34 +03:00
- task: PowerShell@2
displayName: Build
condition: succeeded()
2022-10-14 02:02:34 +03:00
inputs:
filePath: eng/common/build.ps1
arguments: -ci
-restore
-build
-sign
-pack
-publish
-configuration Debug
-msbuildEngine dotnet
-prepareMachine