|
6 | 6 | trigger:
|
7 | 7 | branches:
|
8 | 8 | include:
|
9 |
| - - blazor-wasm |
10 | 9 | - main
|
11 | 10 | - release/*
|
12 |
| - - internal/release/* |
| 11 | + |
| 12 | +# Do not run this pipeline for PR validation. |
| 13 | +pr: none |
13 | 14 |
|
14 | 15 | variables:
|
15 | 16 | - name: _BuildArgs
|
16 | 17 | value: '/p:SkipTestBuild=true'
|
17 |
| -- name: Windows86LogArgs |
| 18 | +- name: WindowsNonX64LogArgs |
18 | 19 | value: -ExcludeCIBinaryLog
|
19 | 20 |
|
20 | 21 | stages:
|
21 | 22 | - stage: build
|
22 | 23 | displayName: Build
|
23 | 24 | jobs:
|
24 |
| - # Build Windows (x64/x86) |
| 25 | + # Build Windows (x64/x86/arm64) |
25 | 26 | - template: jobs/default-build.yml
|
26 | 27 | parameters:
|
27 | 28 | codeSign: false
|
28 | 29 | jobName: Windows_build
|
29 |
| - jobDisplayName: "Build: Windows x64/x86" |
| 30 | + jobDisplayName: "Build: Windows x64/x86/arm64" |
30 | 31 | enableRichCodeNavigation: true
|
31 | 32 | agentOs: Windows
|
32 | 33 | steps:
|
33 |
| - - script: ./build.cmd |
| 34 | + - script: ./eng/build.cmd |
34 | 35 | -ci
|
35 |
| - -all |
36 | 36 | -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 |
38 | 48 | $(_BuildArgs)
|
39 | 49 | displayName: Build x64
|
40 | 50 |
|
41 | 51 | # Build the x86 shared framework
|
42 | 52 | # This is going to actually build x86 native assets.
|
43 |
| - - script: ./build.cmd |
| 53 | + - script: ./eng/build.cmd |
44 | 54 | -ci
|
45 |
| - -noBuildRepoTasks |
46 | 55 | -arch x86
|
47 | 56 | -all
|
48 | 57 | -noBuildJava
|
49 | 58 | -noBuildNative
|
50 |
| - /p:EnableRichCodeNavigation=true |
| 59 | + -noBuildRepoTasks |
51 | 60 | $(_BuildArgs)
|
52 |
| - $(Windows86LogArgs) |
| 61 | + $(WindowsNonX64LogArgs) |
53 | 62 | displayName: Build x86
|
54 | 63 |
|
55 |
| - # Windows installers bundle both x86 and x64 assets |
56 |
| - - script: ./build.cmd |
| 64 | + # Build the arm64 shared framework |
| 65 | + - script: ./eng/build.cmd |
57 | 66 | -ci
|
58 |
| - -noBuildRepoTasks |
59 |
| - -buildInstallers |
| 67 | + -arch arm64 |
| 68 | + -noBuildJava |
60 | 69 | -noBuildNative
|
61 |
| - /p:AssetManifestFileName=aspnetcore-win-x64-x86.xml |
62 |
| - /p:EnableRichCodeNavigation=true |
| 70 | + -noBuildRepoTasks |
63 | 71 | $(_BuildArgs)
|
64 |
| - displayName: Build Installers |
| 72 | + $(WindowsNonX64LogArgs) |
| 73 | + displayName: Build ARM64 |
| 74 | + |
0 commit comments