From bbf890edc396e8c256d2fd089e920b1b50e201bc Mon Sep 17 00:00:00 2001 From: oneonezhang Date: Mon, 17 Feb 2025 14:27:35 +0800 Subject: [PATCH] reset some --- build/pipelines/azure-pipelines.release.yaml | 25 +++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/build/pipelines/azure-pipelines.release.yaml b/build/pipelines/azure-pipelines.release.yaml index 8a3cb9a4..73316079 100644 --- a/build/pipelines/azure-pipelines.release.yaml +++ b/build/pipelines/azure-pipelines.release.yaml @@ -55,6 +55,7 @@ extends: projectName: $(TSA.ProjectName) areaPath: $(TSA.AreaPath) serviceTreeID: $(TSA.ServiceTreeID) + allTools: true codeql: tsaEnabled: true @@ -72,21 +73,39 @@ extends: platform: x86 isReleaseBuild: true useReleaseAppxmanifest: true - condition: false + condition: not(eq(variables['Build.Reason'], 'PullRequest')) - template: /build/pipelines/templates/build-single-architecture.yaml@self parameters: platform: ARM isReleaseBuild: true useReleaseAppxmanifest: true - condition: false + condition: not(eq(variables['Build.Reason'], 'PullRequest')) - template: /build/pipelines/templates/build-single-architecture.yaml@self parameters: platform: ARM64 isReleaseBuild: true useReleaseAppxmanifest: true - condition: false + condition: not(eq(variables['Build.Reason'], 'PullRequest')) + + - template: /build/pipelines/templates/run-ui-tests.yaml@self + parameters: + platform: x64 + runsettingsFileName: CalculatorUITests.release.runsettings + + - template: /build/pipelines/templates/run-ui-tests.yaml@self + parameters: + platform: x86 + runsettingsFileName: CalculatorUITests.release.runsettings + + - template: /build/pipelines/templates/run-unit-tests.yaml@self + parameters: + platform: x64 + + - template: /build/pipelines/templates/run-unit-tests.yaml@self + parameters: + platform: x86 - template: /build/pipelines/templates/package-msixbundle.yaml@self parameters: