@@ -615,43 +615,44 @@ stages:
615615 publishOnError : true
616616 includeForks : true
617617
618- # Local development validation
619- - template : jobs/default-build.yml
620- parameters :
621- jobName : Local_Windows
622- jobDisplayName : ' Test: Windows local development validation'
623- agentOs : Windows
624- isAzDOTestingJob : true
625- timeoutInMinutes : 240
626- steps :
627- - script : git submodule update --init
628- displayName : Update submodules
629- - script : ./restore.cmd
630- displayName : Run restore.cmd
631- - powershell : ./eng/build.ps1 -all -noBuildJava -noBuildNodeJS "-WarnAsError:false"
632- displayName : Build (No NodeJS)
633- - script : npm run build
634- displayName : Build JS
635- - script : ./eng/build.cmd -all -noBuildJava -pack -c Debug
636- displayName : Build (Debug)
637- - script : ./eng/build.cmd -all -noBuildJava -pack -c Release
638- displayName : Build (Release)
639- - script : ./src/ProjectTemplates/build.cmd
640- -test
641- -NoRestore
642- -NoBuild
643- -NoBuildDeps
644- -configuration Release
645- -bl
646- displayName : Run project template tests
647- - powershell : . ./activate.ps1; ./src/ProjectTemplates/scripts/Run-BlazorWeb-Locally.ps1 -Verbose
648- displayName : Run Blazor web app test script
649-
650- artifacts :
651- - name : Local_Windows_x64_Logs_Attempt_$(System.JobAttempt)
652- path : artifacts/log/
653- publishOnError : true
654- includeForks : true
618+ # Local development validation (skip on PRs)
619+ - ${{ if notIn(variables['Build.Reason'], 'PullRequest') }} :
620+ - template : jobs/default-build.yml
621+ parameters :
622+ jobName : Local_Windows
623+ jobDisplayName : ' Test: Windows local development validation'
624+ agentOs : Windows
625+ isAzDOTestingJob : true
626+ timeoutInMinutes : 240
627+ steps :
628+ - script : git submodule update --init
629+ displayName : Update submodules
630+ - script : ./restore.cmd
631+ displayName : Run restore.cmd
632+ - powershell : ./eng/build.ps1 -all -noBuildJava -noBuildNodeJS "-WarnAsError:false"
633+ displayName : Build (No NodeJS)
634+ - script : npm run build
635+ displayName : Build JS
636+ - script : ./eng/build.cmd -all -noBuildJava -pack -c Debug
637+ displayName : Build (Debug)
638+ - script : ./eng/build.cmd -all -noBuildJava -pack -c Release
639+ displayName : Build (Release)
640+ - script : ./src/ProjectTemplates/build.cmd
641+ -test
642+ -NoRestore
643+ -NoBuild
644+ -NoBuildDeps
645+ -configuration Release
646+ -bl
647+ displayName : Run project template tests
648+ - powershell : . ./activate.ps1; ./src/ProjectTemplates/scripts/Run-BlazorWeb-Locally.ps1 -Verbose
649+ displayName : Run Blazor web app test script
650+
651+ artifacts :
652+ - name : Local_Windows_x64_Logs_Attempt_$(System.JobAttempt)
653+ path : artifacts/log/
654+ publishOnError : true
655+ includeForks : true
655656
656657 # Source build
657658 - template : /eng/common/templates/job/source-build.yml
0 commit comments