From bf24b7436654ac019d4d04e9655c9d82a6fdd92f Mon Sep 17 00:00:00 2001 From: Joshua Batista Date: Mon, 27 Jan 2025 10:15:09 -0800 Subject: [PATCH] [Pipelines] Extend time and add PR trigger (#7071) When the pipeline builds and tests in a windows environment, the time limit of 90 minutes reached. There is an insufficient amount of time available to run the pipeline in the windows environment. So, this PR increases the limit to 120 minutes. Here is an example of insufficient time constraints: https://github.com/microsoft/DirectXShaderCompiler/pull/7065 Additionally, this PR explicitly adds a trigger when a PR is created, so that the pipeline is explicitly run when that event happens. This allows the pipeline to be run with stricter security rules. --- azure-pipelines.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 027616765c..f3c0e4e1b5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,6 +1,10 @@ trigger: - main - release* + +pr: + - main + - release* resources: - repo: self @@ -9,7 +13,7 @@ stages: - stage: Build jobs: - job: Windows - timeoutInMinutes: 90 + timeoutInMinutes: 120 pool: vmImage: windows-2022 @@ -40,7 +44,7 @@ stages: displayName: 'DXIL Tests' - job: Nix - timeoutInMinutes: 90 + timeoutInMinutes: 120 variables: macOS: macOS-latest