From b0bbecfc1727e94bf654d9a16fc8a999abc6c0d0 Mon Sep 17 00:00:00 2001 From: amd-jmacaran Date: Tue, 23 Apr 2024 23:19:43 -0400 Subject: [PATCH] SWDEV-458516 - Add support for external CI builds using Azure Pipelines Change-Id: Ie3f75c74d07e69507517b0b22017ca571f6ba762 --- .azuredevops/rocm-ci.yml | 66 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 .azuredevops/rocm-ci.yml diff --git a/.azuredevops/rocm-ci.yml b/.azuredevops/rocm-ci.yml new file mode 100644 index 0000000000..7c8efd71d6 --- /dev/null +++ b/.azuredevops/rocm-ci.yml @@ -0,0 +1,66 @@ +resources: + repositories: + - repository: pipelines_repo + type: github + endpoint: ROCm + name: ROCm/ROCm + - repository: matching_repo + type: github + endpoint: ROCm + name: ROCm/clr + ref: develop + pipelines: + - pipeline: rocr-runtime_pipeline + source: rocr-runtime + trigger: + branches: + include: + - master + - pipeline: rocprofiler-register_pipeline + source: rocprofiler-register + trigger: + branches: + include: + - amd-mainline + +variables: +- group: common +- template: /.azuredevops/variables-global.yml@pipelines_repo + +trigger: + batch: true + branches: + include: + - develop + paths: + exclude: + - docs + - '.github' + - '.jenkins' + - '.*.yaml' + - CODEOWNERS + - Jenkinsfile + - LICENSE.txt + - '**/*.md' + - VERSION + +pr: + autoCancel: true + branches: + include: + - develop + paths: + exclude: + - docs + - '.github' + - '.jenkins' + - '.*.yaml' + - CODEOWNERS + - Jenkinsfile + - LICENSE.txt + - '**/.md' + - VERSION + drafts: false + +jobs: + - template: ${{ variables.CI_COMPONENT_PATH }}/HIP.yml@pipelines_repo