40c9d3d7a2
Change-Id: I1970029bdd6469a7a79c28b63b451e8be462e142
[ROCm/clr commit: 31ee9f02ff]
72 lines
1.7 KiB
YAML
72 lines
1.7 KiB
YAML
resources:
|
|
repositories:
|
|
- repository: pipelines_repo
|
|
type: github
|
|
endpoint: ROCm
|
|
name: ROCm/ROCm
|
|
- repository: matching_repo
|
|
type: github
|
|
endpoint: ROCm
|
|
name: ROCm/HIP
|
|
ref: $(Build.SourceBranch)
|
|
- repository: hipother_repo
|
|
type: github
|
|
endpoint: ROCm
|
|
name: ROCm/hipother
|
|
ref: $(Build.SourceBranch)
|
|
pipelines:
|
|
- pipeline: hip_pipeline
|
|
source: \HIP
|
|
trigger:
|
|
branches:
|
|
include:
|
|
- amd-staging
|
|
- amd-mainline
|
|
- pipeline: hipother_pipeline
|
|
source: \hipother
|
|
trigger:
|
|
branches:
|
|
include:
|
|
- amd-staging
|
|
- amd-mainline
|
|
|
|
variables:
|
|
- group: common
|
|
- template: /.azuredevops/variables-global.yml@pipelines_repo
|
|
|
|
trigger:
|
|
batch: true
|
|
branches:
|
|
include:
|
|
- amd-staging
|
|
- amd-mainline
|
|
paths:
|
|
exclude:
|
|
- CODEOWNERS
|
|
- LICENCE
|
|
- '**/*.md'
|
|
|
|
pr:
|
|
autoCancel: true
|
|
branches:
|
|
include:
|
|
- amd-staging
|
|
- amd-mainline
|
|
paths:
|
|
exclude:
|
|
- CODEOWNERS
|
|
- LICENCE
|
|
- '**/*.md'
|
|
drafts: false
|
|
|
|
jobs:
|
|
# if the build reason is a resource trigger, it means trigger is HIP or hipother repo build
|
|
# HIP/hipother repo build would have just built runtime, just copy their build products
|
|
# this is to ensure clr has latest good package for combined-packaging jobs
|
|
# combined-packaging jobs only have to look at clr pipeline for latest runtime
|
|
# to remove logic of comparing build products from both clr, hip, hipother triggers
|
|
- ${{ if eq(variables['Build.Reason'], 'ResourceTrigger') }}:
|
|
- template: ${{ variables.CI_COMPONENT_PATH }}/copyHIP.yml@pipelines_repo
|
|
- ${{ if ne(variables['Build.Reason'], 'ResourceTrigger') }}:
|
|
- template: ${{ variables.CI_COMPONENT_PATH }}/HIP.yml@pipelines_repo
|