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'