@@ -27,12 +27,6 @@ parameters:
2727 default : false
2828 displayName : Skip tests?
2929 type : boolean
30- # Choose whether to enable binlogs when running pipeline manually.
31- # Binary logs are enabled by default in public builds and aren't designed to be disabled there.
32- - name : produceBinlogs
33- default : false
34- displayName : Produce binlogs?
35- type : boolean
3630
3731variables :
3832- name : DOTNET_SKIP_FIRST_TIME_EXPERIENCE
@@ -63,39 +57,23 @@ variables:
6357 # The following extra properties are not set when testing. Use with final build.[cmd,sh] of asset-producing jobs.
6458 - name : _PublishArgs
6559 value : /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
66- - ${{ if ne(parameters.produceBinlogs, 'true') }} :
67- # Do not log most Windows steps in official builds; this is the slowest job. Site extensions step always logs.
68- - name : WindowsArm64LogArgs
69- value : -ExcludeCIBinaryLog
70- - name : Windows64LogArgs
71- value : -ExcludeCIBinaryLog
72- - name : Windows86LogArgs
73- value : -ExcludeCIBinaryLog
74- - name : WindowsSignLogArgs
75- value : -ExcludeCIBinaryLog
76- - name : WindowsInstallersLogArgs
77- value : -ExcludeCIBinaryLog
78- - name : WindowsArm64InstallersLogArgs
79- value : -ExcludeCIBinaryLog
8060- ${{ if in(variables['Build.Reason'], 'PullRequest') }} :
8161 - name : _BuildArgs
8262 value : ' /p:SkipTestBuild=true /p:PostBuildSign=$(PostBuildSign)'
8363 - name : _PublishArgs
8464 value : ' '
85- - ${{ if or(in(variables['Build.Reason'], 'PullRequest'), eq(parameters.produceBinlogs, 'true')) }} :
86- # Write binary logs for all main Windows build steps except the x86 one in public and PR builds.
87- - name : WindowsArm64LogArgs
88- value : /bl:artifacts/log/Release/Build.arm64.binlog
89- - name : Windows64LogArgs
90- value : /bl:artifacts/log/Release/Build.x64.binlog
91- - name : Windows86LogArgs
92- value : -ExcludeCIBinaryLog
93- - name : WindowsSignLogArgs
94- value : /bl:artifacts/log/Release/Build.CodeSign.binlog
95- - name : WindowsInstallersLogArgs
96- value : /bl:artifacts/log/Release/Build.Installers.binlog
97- - name : WindowsArm64InstallersLogArgs
98- value : /bl:artifacts/log/Release/Build.Installers.Arm64.binlog
65+ - name : WindowsArm64LogArgs
66+ value : /bl:artifacts/log/Release/Build.arm64.binlog
67+ - name : Windows64LogArgs
68+ value : /bl:artifacts/log/Release/Build.x64.binlog
69+ - name : Windows86LogArgs
70+ value : -ExcludeCIBinaryLog
71+ - name : WindowsSignLogArgs
72+ value : /bl:artifacts/log/Release/Build.CodeSign.binlog
73+ - name : WindowsInstallersLogArgs
74+ value : /bl:artifacts/log/Release/Build.Installers.binlog
75+ - name : WindowsArm64InstallersLogArgs
76+ value : /bl:artifacts/log/Release/Build.Installers.Arm64.binlog
9977- name : _InternalRuntimeDownloadArgs
10078 value : -RuntimeSourceFeed https://dotnetbuilds.blob.core.windows.net/internal
10179 -RuntimeSourceFeedKey $(dotnetbuilds-internal-container-read-token-base64)
@@ -719,6 +697,8 @@ extends:
719697 displayName : Update submodules
720698 - script : ./restore.cmd
721699 displayName : Run restore.cmd
700+ - script : ./eng/build.cmd -all -noBuildJava -noBuildNodeJS
701+ displayName : Build (No NodeJS)
722702 - script : npm run build
723703 displayName : Build JS
724704 - script : ./eng/build.cmd -all -noBuildJava -pack -c Debug
0 commit comments