External CI: add parallel mainline checks for develop and staging branches (#666)

Этот коммит содержится в:
Daniel Su
2025-04-11 15:34:18 -04:00
коммит произвёл GitHub
родитель 550212a886
Коммит 36aa7fb7a9
2 изменённых файлов: 66 добавлений и 2 удалений
+65
Просмотреть файл
@@ -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
+1 -2
Просмотреть файл
@@ -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