From c9781681c3abef16f09930ffe3d3e2b37fee10b4 Mon Sep 17 00:00:00 2001 From: "Pirogov, Vadim" Date: Tue, 17 Dec 2024 14:35:46 -0800 Subject: [PATCH] github: workflows: restricted x64 CI to relevant paths --- .github/automation/.azure-pipeline.yml | 43 +++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/.github/automation/.azure-pipeline.yml b/.github/automation/.azure-pipeline.yml index e19fb98e7db..c1ca0bd9554 100644 --- a/.github/automation/.azure-pipeline.yml +++ b/.github/automation/.azure-pipeline.yml @@ -1,5 +1,3 @@ -#! /bin/bash - #=============================================================================== # Copyright 2019-2024 Intel Corporation # @@ -16,9 +14,46 @@ # limitations under the License. #=============================================================================== +# Reference: +# https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema + trigger: -- main -- rls-* + batch: true + branches: + include: [ main, rls-* ] + paths: + include: + - .github + - cmake + - examples + - include + - src + - tests + exclude: + - src/gpu + - src/cpu/aarch64 + - src/cpu/ppc64 + - src/cpu/rv64 + - src/cpu/s390x + +pr: + autoCancel: true + branches: + include: [ main, rls-* ] + paths: + include: + - .github + - cmake + - examples + - include + - src + - tests + exclude: + - src/gpu + - src/cpu/aarch64 + - src/cpu/ppc64 + - src/cpu/rv64 + - src/cpu/s390x jobs: - job: 'Ubuntu20'