diff --git a/.azure/pipelines/jobs/default-build.yml b/.azure/pipelines/jobs/default-build.yml index 88f0bebc179e..45a0f46cb836 100644 --- a/.azure/pipelines/jobs/default-build.yml +++ b/.azure/pipelines/jobs/default-build.yml @@ -77,6 +77,9 @@ jobs: dependsOn: ${{ parameters.dependsOn }} ${{ if ne(parameters.condition, '') }}: condition: ${{ parameters.condition }} + ${{ if ne(parameters.enableRichCodeNavigation, '') }}: + enableRichCodeNavigation: true + richCodeNavigationLanguage: 'csharp,typescript,java' timeoutInMinutes: ${{ parameters.timeoutInMinutes }} cancelTimeoutInMinutes: ${{ parameters.cancelTimeoutInMinutes }} ${{ if and(eq(variables['System.TeamProject'], 'internal'), eq(parameters.agentOs, 'Windows'), eq(parameters.codeSign, 'true')) }}: diff --git a/.azure/pipelines/richnav.yml b/.azure/pipelines/richnav.yml new file mode 100644 index 000000000000..a41986ca81ad --- /dev/null +++ b/.azure/pipelines/richnav.yml @@ -0,0 +1,64 @@ +# +# See https://docs.microsoft.com/en-us/vsts/pipelines/yaml-schema for details on this file. +# + +# Configure which branches trigger builds +trigger: + branches: + include: + - blazor-wasm + - master + - release/* + - internal/release/* + +variables: +- name: _BuildArgs + value: '/p:SkipTestBuild=true' +- name: Windows86LogArgs + value: -ExcludeCIBinaryLog + +stages: +- stage: build + displayName: Build + jobs: + # Build Windows (x64/x86) + - template: jobs/default-build.yml + parameters: + codeSign: false + jobName: Windows_build + jobDisplayName: "Build: Windows x64/x86" + enableRichCodeNavigation: true + agentOs: Windows + steps: + - script: ./build.cmd + -ci + -all + -arch x64 + /p:EnableRichCodeNavigation=true + $(_BuildArgs) + displayName: Build x64 + + # Build the x86 shared framework + # This is going to actually build x86 native assets. + - script: ./build.cmd + -ci + -noBuildRepoTasks + -arch x86 + -all + -noBuildJava + -noBuildNative + /p:EnableRichCodeNavigation=true + $(_BuildArgs) + $(Windows86LogArgs) + displayName: Build x86 + + # Windows installers bundle both x86 and x64 assets + - script: ./build.cmd + -ci + -noBuildRepoTasks + -buildInstallers + -noBuildNative + /p:AssetManifestFileName=aspnetcore-win-x64-x86.xml + /p:EnableRichCodeNavigation=true + $(_BuildArgs) + displayName: Build Installers diff --git a/NuGet.config b/NuGet.config index 4b1bf8e55762..f7375b2fdcbf 100644 --- a/NuGet.config +++ b/NuGet.config @@ -12,6 +12,8 @@ + +