@@ -246,33 +246,32 @@ jobs:
246246 condition : eq(variables.onlyDocChanged, 0)
247247
248248- job : BootstrapMSBuildWithMTMode
249- displayName : " Windows Core Multithreaded Mode"
249+ displayName : " Linux Core Multithreaded Mode"
250250 pool :
251- vmImage : ' windows-2022 '
251+ vmImage : ' ubuntu-latest '
252252 timeoutInMinutes : 120
253253 steps :
254254 - template : azure-pipelines/check-documentation-only-change.yml
255255 - ${{ if eq(variables['System.TeamProject'], 'DevDiv') }} :
256- - task : PowerShell@2
256+ - task : Bash@3
257257 displayName : Setup Private Feeds Credentials
258258 inputs :
259- filePath : $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
260- arguments : -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env: Token
259+ filePath : $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
260+ arguments : $(Build.SourcesDirectory)/NuGet.config $ Token
261261 env :
262262 Token : $(dn-bot-dnceng-artifact-feeds-rw)
263- - task : PowerShell@2
263+ - bash : sudo apt-get update
264+ - bash : sudo apt-get install -y libxml2
265+ - bash : . 'eng/cibuild_bootstrapped_msbuild.sh' --onlyDocChanged $(onlyDocChanged) --skipTests --stage2Properties '/mt'
264266 displayName : ' Build with bootstrapped MSBuild and -mt mode'
265- inputs :
266- filePath : $(Build.SourcesDirectory)/eng/cibuild_bootstrapped_msbuild.ps1
267- arguments : -msbuildEngine dotnet -onlyDocChanged $(onlyDocChanged) -skipTests -stage2Properties '/mt'
268267 condition : eq(variables.onlyDocChanged, 0)
269268 env :
270269 MSBUILDUSESERVER : " 1"
271270 - task : PublishBuildArtifacts@1
272271 displayName : ' Publish Artifact: logs'
273272 inputs :
274273 PathtoPublish : ' artifacts/log/Debug'
275- ArtifactName : ' MTModeOnWindows build logs'
274+ ArtifactName : ' MTModeOnLinux build logs'
276275 continueOnError : true
277276 condition : always()
278277
0 commit comments