Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .azure/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ extends:
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
$(Windows64LogArgs)
env:
MSBUILDUSESERVER: "1"
displayName: Build x64

# Build the x86 shared framework
Expand All @@ -190,6 +192,8 @@ extends:
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
$(Windows86LogArgs)
env:
MSBUILDUSESERVER: "1"
displayName: Build x86

# Build the arm64 shared framework
Expand All @@ -207,6 +211,8 @@ extends:
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
$(WindowsArm64LogArgs)
env:
MSBUILDUSESERVER: "1"
displayName: Build ARM64

- script: .\src\SiteExtensions\build.cmd
Expand All @@ -218,6 +224,8 @@ extends:
-noBuildNative
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
env:
MSBUILDUSESERVER: "1"
displayName: Build SiteExtension

# This runs code-signing on all packages, zips, and jar files as defined in build/CodeSign.targets. If
Expand All @@ -233,6 +241,8 @@ extends:
/p:DotNetSignType=$(_SignType)
$(_BuildArgs)
$(WindowsSignLogArgs)
env:
MSBUILDUSESERVER: "1"
displayName: Code sign packages

# Windows installers bundle x86/x64/arm64 assets
Expand All @@ -247,6 +257,8 @@ extends:
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
$(WindowsInstallersLogArgs)
env:
MSBUILDUSESERVER: "1"
displayName: Build Installers

# Windows installers bundle and sharedfx msi for arm64
Expand All @@ -265,6 +277,8 @@ extends:
$(_PublishArgs)
$(_InternalRuntimeDownloadArgs)
$(WindowsArm64InstallersLogArgs)
env:
MSBUILDUSESERVER: "1"
displayName: Build ARM64 Installers

artifacts:
Expand Down Expand Up @@ -616,6 +630,8 @@ extends:
# Build the shared framework
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -pack -arch x64
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
env:
MSBUILDUSESERVER: "1"
displayName: Build shared fx
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -noBuildRepoTasks -noBuildNative -noBuild -test
Expand Down
4 changes: 4 additions & 0 deletions .azure/pipelines/jobs/default-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ jobs:
- TeamName: AspNetCore
- ${{ if ne(parameters.codeSign, true) }}:
- _SignType: ''
- ${{ if ne(parameters.isAzDOTestingJob, true) }}:
- MSBUILDUSESERVER: "1"
- LC_ALL: 'en_US.UTF-8'
- LANG: 'en_US.UTF-8'
- LANGUAGE: 'en_US.UTF-8'
Expand Down Expand Up @@ -348,6 +350,8 @@ jobs:
- LANGUAGE: 'en_US.UTF-8'
- ${{ if ne(parameters.codeSign, true) }}:
- _SignType: ''
- ${{ if ne(parameters.isAzDOTestingJob, true) }}:
- MSBUILDUSESERVER: "1"
- ${{ else }}:
- ${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
- _SignType: real
Expand Down
Loading