diff --git a/.azuredevops/rocm-ci-mainline.yml b/.azuredevops/rocm-ci-mainline.yml new file mode 100644 index 0000000000..042e985b8a --- /dev/null +++ b/.azuredevops/rocm-ci-mainline.yml @@ -0,0 +1,65 @@ +resources: + repositories: + - repository: pipelines_repo + type: github + endpoint: ROCm + name: ROCm/ROCm + +variables: +- group: common +- template: /.azuredevops/variables-global.yml@pipelines_repo + +trigger: + batch: true + branches: + include: + - amd-mainline + paths: + exclude: + - .github + - docs + - '.*.y*ml' + - '*.md' + - AUTHORS + - LICENSE + - VERSION + +pr: + autoCancel: true + branches: + include: + - amd-mainline + paths: + exclude: + - .github + - docs + - '.*.y*ml' + - '*.md' + - AUTHORS + - LICENSE + - VERSION + drafts: false + +# For changes to mainline, only build & test against mainline ROCm +jobs: + - template: ${{ variables.CI_COMPONENT_PATH }}/rocprofiler-compute.yml@pipelines_repo + parameters: + jobMatrix: + buildJobs: + - gfx942-mainline: + name: gfx942_mainline + target: gfx942 + dependencySource: mainline + - gfx90a-mainline: + name: gfx90a_mainline + target: gfx90a + dependencySource: mainline + testJobs: + - gfx942-mainline: + name: gfx942_mainline + target: gfx942 + dependencySource: mainline + - gfx90a-mainline: + name: gfx90a_mainline + target: gfx90a + dependencySource: mainline diff --git a/.azuredevops/rocm-ci.yml b/.azuredevops/rocm-ci.yml index 3c0d1b7df0..26e4d6095a 100644 --- a/.azuredevops/rocm-ci.yml +++ b/.azuredevops/rocm-ci.yml @@ -15,7 +15,6 @@ trigger: include: - develop - amd-staging - - amd-mainline paths: exclude: - .github @@ -32,7 +31,6 @@ pr: include: - develop - amd-staging - - amd-mainline paths: exclude: - .github @@ -44,5 +42,6 @@ pr: - VERSION drafts: false +# For changes to develop and staging, build & test against both staging and mainline ROCm jobs: - template: ${{ variables.CI_COMPONENT_PATH }}/rocprofiler-compute.yml@pipelines_repo