Skip to content

Commit 86ae7b9

Browse files
committed
Revert "Remove sourcebuild"
This reverts commit 1fa2219.
1 parent 1fa2219 commit 86ae7b9

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.azure/pipelines/ci-public.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,3 +625,17 @@ stages:
625625
path: artifacts/log/
626626
publishOnError: true
627627
includeForks: true
628+
629+
# Source build
630+
- template: /eng/common/templates/job/source-build.yml
631+
parameters:
632+
platform:
633+
name: 'Managed'
634+
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64'
635+
buildScript: './eng/build.sh --publish --no-build-repo-tasks $(_PublishArgs) $(_InternalRuntimeDownloadArgs)'
636+
skipPublishValidation: true
637+
jobProperties:
638+
timeoutInMinutes: 120
639+
variables:
640+
# Log environment variables in binary logs to ease debugging
641+
MSBUILDLOGALLENVIRONMENTVARIABLES: true

.azure/pipelines/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,21 @@ extends:
670670
publishOnError: true
671671
includeForks: true
672672

673+
# Source build
674+
- template: /eng/common/templates-official/job/source-build.yml@self
675+
parameters:
676+
enableInternalSources: true
677+
platform:
678+
name: 'Managed'
679+
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8'
680+
buildScript: './eng/build.sh --publish --no-build-repo-tasks $(_PublishArgs) $(_InternalRuntimeDownloadArgs)'
681+
skipPublishValidation: true
682+
jobProperties:
683+
timeoutInMinutes: 120
684+
variables:
685+
# Log environment variables in binary logs to ease debugging
686+
MSBUILDLOGALLENVIRONMENTVARIABLES: true
687+
673688
- ${{ if eq(variables.enableSourceIndex, 'true') }}:
674689
- template: /eng/common/templates-official/job/source-index-stage1.yml@self
675690
parameters:

0 commit comments

Comments
 (0)