From 3f445db01c607379cb77e23f4ffb67a01de625cd Mon Sep 17 00:00:00 2001 From: Z1 cciauto Date: Tue, 23 Jun 2026 22:24:07 -0700 Subject: [PATCH 1/5] [Infra] CI setup - PSDB --- .../rockci_multi_arch_wavetransform.yml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/rockci_multi_arch_wavetransform.yml diff --git a/.github/workflows/rockci_multi_arch_wavetransform.yml b/.github/workflows/rockci_multi_arch_wavetransform.yml new file mode 100644 index 0000000000000..56f2c2ef5f790 --- /dev/null +++ b/.github/workflows/rockci_multi_arch_wavetransform.yml @@ -0,0 +1,63 @@ +# Copyright Advanced Micro Devices, Inc. +# SPDX-License-Identifier: MIT + +# Multi-Arch CI +# +# This is a staging workflow for the sharded multi-arch build pipeline. +# It mirrors ci.yml but uses multi_arch_build_portable_linux.yml instead of +# ci_linux.yml. Once validated, ci.yml will be updated to use the multi-arch +# sub-workflows directly. +# +# Same `ci:skip` rules as rockci-amd-staging.yml: only automated LLVM_MAIN_REVISION PRs +# (matching title/body) skip presubmit; label alone is not enough. + +name: Multi-Arch CI wavetransform + +on: + pull_request: + branches: + - amd-feature/wave-transform + types: + - labeled + - opened + - synchronize + - reopened + workflow_dispatch: + inputs: + linux_amdgpu_families: + type: string + default: "" + linux_test_labels: + type: string + default: "" + windows_amdgpu_families: + type: string + default: "" + windows_test_labels: + type: string + default: "" + prebuilt_stages: + type: string + default: "" + baseline_run_id: + type: string + default: "" + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + rockci: + uses: ROCm/llvm-project/.github/workflows/rockci_multi_arch_amd_staging.yml@amd-staging + secrets: inherit + with: + linux_amdgpu_families: ${{ inputs.linux_amdgpu_families || '' }} + linux_test_labels: ${{ inputs.linux_test_labels || '' }} + windows_amdgpu_families: ${{ inputs.windows_amdgpu_families || '' }} + windows_test_labels: ${{ inputs.windows_test_labels || '' }} + prebuilt_stages: ${{ inputs.prebuilt_stages || '' }} + baseline_run_id: ${{ inputs.baseline_run_id || '' }} From ee50964d3173eb4dbf06ab8f4fe8585b76d4581c Mon Sep 17 00:00:00 2001 From: Z1 cciauto Date: Tue, 23 Jun 2026 23:28:54 -0700 Subject: [PATCH 2/5] update the parent branch name --- .github/workflows/rockci_multi_arch_wavetransform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rockci_multi_arch_wavetransform.yml b/.github/workflows/rockci_multi_arch_wavetransform.yml index 56f2c2ef5f790..bfcfb753da434 100644 --- a/.github/workflows/rockci_multi_arch_wavetransform.yml +++ b/.github/workflows/rockci_multi_arch_wavetransform.yml @@ -52,7 +52,7 @@ concurrency: jobs: rockci: - uses: ROCm/llvm-project/.github/workflows/rockci_multi_arch_amd_staging.yml@amd-staging + uses: ROCm/llvm-project/.github/workflows/rockci_multi_arch_amd_staging.yml@amd/dev/kirthana14m/ci_reusability secrets: inherit with: linux_amdgpu_families: ${{ inputs.linux_amdgpu_families || '' }} From 27475cc7da8ce801c5bf604179bb9aa7f892ed48 Mon Sep 17 00:00:00 2001 From: Z1 cciauto Date: Tue, 23 Jun 2026 23:33:34 -0700 Subject: [PATCH 3/5] update the id-token permission --- .github/workflows/rockci_multi_arch_wavetransform.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rockci_multi_arch_wavetransform.yml b/.github/workflows/rockci_multi_arch_wavetransform.yml index bfcfb753da434..98fd7f734ac06 100644 --- a/.github/workflows/rockci_multi_arch_wavetransform.yml +++ b/.github/workflows/rockci_multi_arch_wavetransform.yml @@ -45,6 +45,7 @@ on: permissions: contents: read + id-token: write concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} From d5b351a71ee5c3a0d31c3263f29c426e1d22c45f Mon Sep 17 00:00:00 2001 From: Z1 cciauto Date: Wed, 24 Jun 2026 01:47:52 -0700 Subject: [PATCH 4/5] Use API format --- .../rockci_multi_arch_wavetransform_api.yml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/rockci_multi_arch_wavetransform_api.yml diff --git a/.github/workflows/rockci_multi_arch_wavetransform_api.yml b/.github/workflows/rockci_multi_arch_wavetransform_api.yml new file mode 100644 index 0000000000000..41b95655ab9f8 --- /dev/null +++ b/.github/workflows/rockci_multi_arch_wavetransform_api.yml @@ -0,0 +1,37 @@ +# Copyright Advanced Micro Devices, Inc. +# SPDX-License-Identifier: MIT + +# Multi-Arch CI +# +# This is a staging workflow for the sharded multi-arch build pipeline. +# It mirrors ci.yml but uses multi_arch_build_portable_linux.yml instead of +# ci_linux.yml. Once validated, ci.yml will be updated to use the multi-arch +# sub-workflows directly. +# +# Same `ci:skip` rules as rockci-amd-staging.yml: only automated LLVM_MAIN_REVISION PRs +# (matching title/body) skip presubmit; label alone is not enough. + +name: Multi Arch CI + +on: + push: + branches: [amd-feature/wave-transform] + +permissions: + contents: read + actions: write + +jobs: + trigger: + runs-on: ubuntu-24.04 + steps: + - uses: actions/github-script@v7 + with: + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'ROCm', + repo: 'llvm-project', + workflow_id: 'rockci_multi_arch_amd_staging.yml', + ref: 'amd-staging', + inputs: {} + }); From d94970b5e64c5ef11b7fe9241f69a327f21c9460 Mon Sep 17 00:00:00 2001 From: Z1 cciauto Date: Wed, 24 Jun 2026 01:50:45 -0700 Subject: [PATCH 5/5] Use API format --- .../workflows/rockci_multi_arch_wavetransform_api.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rockci_multi_arch_wavetransform_api.yml b/.github/workflows/rockci_multi_arch_wavetransform_api.yml index 41b95655ab9f8..52d8b1b48d21e 100644 --- a/.github/workflows/rockci_multi_arch_wavetransform_api.yml +++ b/.github/workflows/rockci_multi_arch_wavetransform_api.yml @@ -14,8 +14,14 @@ name: Multi Arch CI on: - push: - branches: [amd-feature/wave-transform] + pull_request: + branches: + - amd-feature/wave-transform + types: + - labeled + - opened + - synchronize + - reopened permissions: contents: read