@@ -322,164 +322,169 @@ stages:
322322 inputName : Linux_x64
323323
324324 # Build Linux ARM
325- - template : jobs/default-build.yml
326- parameters :
327- jobName : Linux_arm_build
328- jobDisplayName : " Build: Linux ARM"
329- agentOs : Linux
330- buildArgs :
331- --arch arm
332- --pack
333- --all
334- --no-build-java
335- --publish
336- -p:OnlyPackPlatformSpecificPackages=true
337- -p:AssetManifestFileName=aspnetcore-Linux_arm.xml
338- $(_BuildArgs)
339- $(_PublishArgs)
340- $(_InternalRuntimeDownloadArgs)
341- artifacts :
342- - name : Linux_arm_Logs_Attempt_$(System.JobAttempt)
343- path : artifacts/log/
344- publishOnError : true
345- includeForks : true
346- - name : Linux_arm_Packages
347- path : artifacts/packages/
348-
349- - ${{ if ne(variables.PostBuildSign, 'true') }} :
350- - template : jobs/codesign-xplat.yml
325+ - ${{ if notin(variables['Build.Reason'], 'PullRequest') }} :
326+ - template : jobs/default-build.yml
351327 parameters :
352- inputName : Linux_arm
328+ jobName : Linux_arm_build
329+ jobDisplayName : " Build: Linux ARM"
330+ agentOs : Linux
331+ buildArgs :
332+ --arch arm
333+ --pack
334+ --all
335+ --no-build-java
336+ --publish
337+ -p:OnlyPackPlatformSpecificPackages=true
338+ -p:AssetManifestFileName=aspnetcore-Linux_arm.xml
339+ $(_BuildArgs)
340+ $(_PublishArgs)
341+ $(_InternalRuntimeDownloadArgs)
342+ artifacts :
343+ - name : Linux_arm_Logs_Attempt_$(System.JobAttempt)
344+ path : artifacts/log/
345+ publishOnError : true
346+ includeForks : true
347+ - name : Linux_arm_Packages
348+ path : artifacts/packages/
353349
354- # Build Linux ARM64
355- - template : jobs/default-build.yml
356- parameters :
357- jobName : Linux_arm64_build
358- jobDisplayName : " Build: Linux ARM64"
359- agentOs : Linux
360- steps :
361- - script : ./eng/build.sh
362- --ci
363- --arch arm64
364- --pack
365- --build-installers
366- --all
367- --no-build-java
368- -p:OnlyPackPlatformSpecificPackages=true
369- $(_BuildArgs)
370- $(_InternalRuntimeDownloadArgs)
371- displayName : Run build.sh
372- artifacts :
373- - name : Linux_arm64_Logs_Attempt_$(System.JobAttempt)
374- path : artifacts/log/
375- publishOnError : true
376- includeForks : true
377- - name : Linux_arm64_Packages
378- path : artifacts/packages/
350+ - ${{ if ne(variables.PostBuildSign, 'true') }} :
351+ - template : jobs/codesign-xplat.yml
352+ parameters :
353+ inputName : Linux_arm
379354
380- - ${{ if ne(variables.PostBuildSign, 'true') }} :
381- - template : jobs/codesign-xplat.yml
355+ # Build Linux ARM64
356+ - ${{ if notin(variables['Build.Reason'], 'PullRequest') }} :
357+ - template : jobs/default-build.yml
382358 parameters :
383- inputName : Linux_arm64
359+ jobName : Linux_arm64_build
360+ jobDisplayName : " Build: Linux ARM64"
361+ agentOs : Linux
362+ steps :
363+ - script : ./eng/build.sh
364+ --ci
365+ --arch arm64
366+ --pack
367+ --build-installers
368+ --all
369+ --no-build-java
370+ -p:OnlyPackPlatformSpecificPackages=true
371+ $(_BuildArgs)
372+ $(_InternalRuntimeDownloadArgs)
373+ displayName : Run build.sh
374+ artifacts :
375+ - name : Linux_arm64_Logs_Attempt_$(System.JobAttempt)
376+ path : artifacts/log/
377+ publishOnError : true
378+ includeForks : true
379+ - name : Linux_arm64_Packages
380+ path : artifacts/packages/
384381
385- # Build Linux Musl x64
386- - template : jobs/default-build.yml
387- parameters :
388- jobName : Linux_musl_x64_build
389- jobDisplayName : " Build: Linux Musl x64"
390- agentOs : Linux
391- container : mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64
392- buildArgs :
393- --arch x64
394- --os-name linux-musl
395- --pack
396- --all
397- --no-build-java
398- --publish
399- -p:OnlyPackPlatformSpecificPackages=true
400- -p:AssetManifestFileName=aspnetcore-Linux_musl_x64.xml
401- $(_BuildArgs)
402- $(_PublishArgs)
403- $(_InternalRuntimeDownloadArgs)
404- disableComponentGovernance : true
405- artifacts :
406- - name : Linux_musl_x64_Logs_Attempt_$(System.JobAttempt)
407- path : artifacts/log/
408- publishOnError : true
409- includeForks : true
410- - name : Linux_musl_x64_Packages
411- path : artifacts/packages/
382+ - ${{ if ne(variables.PostBuildSign, 'true') }} :
383+ - template : jobs/codesign-xplat.yml
384+ parameters :
385+ inputName : Linux_arm64
412386
413- - ${{ if ne(variables.PostBuildSign, 'true') }} :
414- - template : jobs/codesign-xplat.yml
387+ # Build Linux Musl x64
388+ - ${{ if notin(variables['Build.Reason'], 'PullRequest') }} :
389+ - template : jobs/default-build.yml
415390 parameters :
416- inputName : Linux_musl_x64
391+ jobName : Linux_musl_x64_build
392+ jobDisplayName : " Build: Linux Musl x64"
393+ agentOs : Linux
394+ container : mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64
395+ buildArgs :
396+ --arch x64
397+ --os-name linux-musl
398+ --pack
399+ --all
400+ --no-build-java
401+ --publish
402+ -p:OnlyPackPlatformSpecificPackages=true
403+ -p:AssetManifestFileName=aspnetcore-Linux_musl_x64.xml
404+ $(_BuildArgs)
405+ $(_PublishArgs)
406+ $(_InternalRuntimeDownloadArgs)
407+ disableComponentGovernance : true
408+ artifacts :
409+ - name : Linux_musl_x64_Logs_Attempt_$(System.JobAttempt)
410+ path : artifacts/log/
411+ publishOnError : true
412+ includeForks : true
413+ - name : Linux_musl_x64_Packages
414+ path : artifacts/packages/
417415
418- # Build Linux Musl ARM
419- - template : jobs/default-build.yml
420- parameters :
421- jobName : Linux_musl_arm_build
422- jobDisplayName : " Build: Linux Musl ARM"
423- agentOs : Linux
424- useHostedUbuntu : false
425- container : mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64
426- buildArgs :
427- --arch arm
428- --os-name linux-musl
429- --pack
430- --all
431- --no-build-java
432- --publish
433- -p:OnlyPackPlatformSpecificPackages=true
434- -p:AssetManifestFileName=aspnetcore-Linux_musl_arm.xml
435- $(_BuildArgs)
436- $(_PublishArgs)
437- $(_InternalRuntimeDownloadArgs)
438- artifacts :
439- - name : Linux_musl_arm_Logs_Attempt_$(System.JobAttempt)
440- path : artifacts/log/
441- publishOnError : true
442- includeForks : true
443- - name : Linux_musl_arm_Packages
444- path : artifacts/packages/
416+ - ${{ if ne(variables.PostBuildSign, 'true') }} :
417+ - template : jobs/codesign-xplat.yml
418+ parameters :
419+ inputName : Linux_musl_x64
445420
446- - ${{ if ne(variables.PostBuildSign, 'true') }} :
447- - template : jobs/codesign-xplat.yml
421+ # Build Linux Musl ARM
422+ - ${{ if notin(variables['Build.Reason'], 'PullRequest') }} :
423+ - template : jobs/default-build.yml
448424 parameters :
449- inputName : Linux_musl_arm
425+ jobName : Linux_musl_arm_build
426+ jobDisplayName : " Build: Linux Musl ARM"
427+ agentOs : Linux
428+ useHostedUbuntu : false
429+ container : mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64
430+ buildArgs :
431+ --arch arm
432+ --os-name linux-musl
433+ --pack
434+ --all
435+ --no-build-java
436+ --publish
437+ -p:OnlyPackPlatformSpecificPackages=true
438+ -p:AssetManifestFileName=aspnetcore-Linux_musl_arm.xml
439+ $(_BuildArgs)
440+ $(_PublishArgs)
441+ $(_InternalRuntimeDownloadArgs)
442+ artifacts :
443+ - name : Linux_musl_arm_Logs_Attempt_$(System.JobAttempt)
444+ path : artifacts/log/
445+ publishOnError : true
446+ includeForks : true
447+ - name : Linux_musl_arm_Packages
448+ path : artifacts/packages/
450449
451- # Build Linux Musl ARM64
452- - template : jobs/default-build.yml
453- parameters :
454- jobName : Linux_musl_arm64_build
455- jobDisplayName : " Build: Linux Musl ARM64"
456- agentOs : Linux
457- useHostedUbuntu : false
458- container : mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64
459- buildArgs :
460- --arch arm64
461- --os-name linux-musl
462- --pack
463- --all
464- --no-build-java
465- --publish
466- -p:OnlyPackPlatformSpecificPackages=true
467- -p:AssetManifestFileName=aspnetcore-Linux_musl_arm64.xml
468- $(_BuildArgs)
469- $(_PublishArgs)
470- $(_InternalRuntimeDownloadArgs)
471- artifacts :
472- - name : Linux_musl_arm64_Logs_Attempt_$(System.JobAttempt)
473- path : artifacts/log/
474- publishOnError : true
475- includeForks : true
476- - name : Linux_musl_arm64_Packages
477- path : artifacts/packages/
450+ - ${{ if ne(variables.PostBuildSign, 'true') }} :
451+ - template : jobs/codesign-xplat.yml
452+ parameters :
453+ inputName : Linux_musl_arm
478454
479- - ${{ if ne(variables.PostBuildSign, 'true') }} :
480- - template : jobs/codesign-xplat.yml
455+ # Build Linux Musl ARM64
456+ - ${{ if notin(variables['Build.Reason'], 'PullRequest') }} :
457+ - template : jobs/default-build.yml
481458 parameters :
482- inputName : Linux_musl_arm64
459+ jobName : Linux_musl_arm64_build
460+ jobDisplayName : " Build: Linux Musl ARM64"
461+ agentOs : Linux
462+ useHostedUbuntu : false
463+ container : mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64
464+ buildArgs :
465+ --arch arm64
466+ --os-name linux-musl
467+ --pack
468+ --all
469+ --no-build-java
470+ --publish
471+ -p:OnlyPackPlatformSpecificPackages=true
472+ -p:AssetManifestFileName=aspnetcore-Linux_musl_arm64.xml
473+ $(_BuildArgs)
474+ $(_PublishArgs)
475+ $(_InternalRuntimeDownloadArgs)
476+ artifacts :
477+ - name : Linux_musl_arm64_Logs_Attempt_$(System.JobAttempt)
478+ path : artifacts/log/
479+ publishOnError : true
480+ includeForks : true
481+ - name : Linux_musl_arm64_Packages
482+ path : artifacts/packages/
483+
484+ - ${{ if ne(variables.PostBuildSign, 'true') }} :
485+ - template : jobs/codesign-xplat.yml
486+ parameters :
487+ inputName : Linux_musl_arm64
483488
484489 - ${{ if ne(parameters.skipTests, 'true') }} :
485490 # Test jobs
0 commit comments