forked from dotnet/razor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines-richnav.yml
58 lines (52 loc) · 1.37 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# 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:
helixRepo: dotnet/razor-tooling
helixType: build.product/
enableRichCodeNavigation: true
richCodeNavigationEnvironment: 'production'
richCodeNavigationLanguage: 'csharp,typescript'
jobs:
- job: Windows
pool:
name: NetCore-Public
demands: ImageOverride -equals build.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()