Skip to content

Commit d60e995

Browse files
[release/6.0] Get richnav.yml building again (#40783)
* Get richnav.yml building again - correct build.cmd location - generally align richnav.yml with ci.yml - ignore signing, internal download args, and publish args nit: correct name of one build step in ci.yml * Disable pipeline in PR validation - also remove irrelevant trigger branches * !fixup! Try doing native build w/o rich nav nit: put `-no`s together * !fixup! Disable rich nav explicitly - also remove installers build entirely; build will fail nits: - don't bother setting `$(EnableRichCodeNavigation)` or `$(OnlyPackPlatformSpecificPackages)` to `true` - job.yml sets `$(EnableRichCodeNavigation)` variable and `msbuild` will find that in environment - `$(OnlyPackPlatformSpecificPackages)` is not relevant in this pipeline; not packing Co-authored-by: Doug Bunting <[email protected]>
1 parent 87f13a1 commit d60e995

File tree

1 file changed

+29
-19
lines changed

1 file changed

+29
-19
lines changed

.azure/pipelines/richnav.yml

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,59 +6,69 @@
66
trigger:
77
branches:
88
include:
9-
- blazor-wasm
109
- main
1110
- release/*
12-
- internal/release/*
11+
12+
# Do not run this pipeline for PR validation.
13+
pr: none
1314

1415
variables:
1516
- name: _BuildArgs
1617
value: '/p:SkipTestBuild=true'
17-
- name: Windows86LogArgs
18+
- name: WindowsNonX64LogArgs
1819
value: -ExcludeCIBinaryLog
1920

2021
stages:
2122
- stage: build
2223
displayName: Build
2324
jobs:
24-
# Build Windows (x64/x86)
25+
# Build Windows (x64/x86/arm64)
2526
- template: jobs/default-build.yml
2627
parameters:
2728
codeSign: false
2829
jobName: Windows_build
29-
jobDisplayName: "Build: Windows x64/x86"
30+
jobDisplayName: "Build: Windows x64/x86/arm64"
3031
enableRichCodeNavigation: true
3132
agentOs: Windows
3233
steps:
33-
- script: ./build.cmd
34+
- script: ./eng/build.cmd
3435
-ci
35-
-all
3636
-arch x64
37-
/p:EnableRichCodeNavigation=true
37+
-buildNative
38+
/p:EnableRichCodeNavigation=false
39+
$(_BuildArgs)
40+
displayName: Build x64 native assets
41+
42+
- script: ./eng/build.cmd
43+
-ci
44+
-arch x64
45+
-all
46+
-noBuildNative
47+
-noBuildRepoTasks
3848
$(_BuildArgs)
3949
displayName: Build x64
4050

4151
# Build the x86 shared framework
4252
# This is going to actually build x86 native assets.
43-
- script: ./build.cmd
53+
- script: ./eng/build.cmd
4454
-ci
45-
-noBuildRepoTasks
4655
-arch x86
4756
-all
4857
-noBuildJava
4958
-noBuildNative
50-
/p:EnableRichCodeNavigation=true
59+
-noBuildRepoTasks
5160
$(_BuildArgs)
52-
$(Windows86LogArgs)
61+
$(WindowsNonX64LogArgs)
5362
displayName: Build x86
5463

55-
# Windows installers bundle both x86 and x64 assets
56-
- script: ./build.cmd
64+
# Build the arm64 shared framework
65+
- script: ./eng/build.cmd
5766
-ci
58-
-noBuildRepoTasks
59-
-buildInstallers
67+
-arch arm64
68+
-noBuildJava
6069
-noBuildNative
61-
/p:AssetManifestFileName=aspnetcore-win-x64-x86.xml
62-
/p:EnableRichCodeNavigation=true
70+
-noBuildRepoTasks
6371
$(_BuildArgs)
64-
displayName: Build Installers
72+
$(WindowsNonX64LogArgs)
73+
displayName: Build ARM64
74+

0 commit comments

Comments
 (0)