Skip to content

Multi-arch CI support#179

Draft
lumachad wants to merge 5 commits into
amd-stagingfrom
users/lumachad/amd-staging/multi-arch
Draft

Multi-arch CI support#179
lumachad wants to merge 5 commits into
amd-stagingfrom
users/lumachad/amd-staging/multi-arch

Conversation

@lumachad

Copy link
Copy Markdown
Collaborator

Enable multi-arch CI support for ROCgdb

@lumachad lumachad self-assigned this Jun 19, 2026
@lumachad lumachad added the ci:multi-arch Temporary test label label Jun 19, 2026
@lumachad lumachad added ci:skip Skip all pre-commit / CI jobs while the label is up ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jun 19, 2026
@lumachad lumachad closed this Jun 19, 2026
@lumachad lumachad reopened this Jun 19, 2026
@lumachad lumachad removed the ci:skip Skip all pre-commit / CI jobs while the label is up label Jun 19, 2026
@lumachad lumachad closed this Jun 19, 2026
@lumachad lumachad reopened this Jun 19, 2026
@lumachad lumachad added ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jun 19, 2026
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from 3bcb1e2 to f1144ea Compare June 19, 2026 12:22
@lumachad lumachad added ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jun 19, 2026
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from f1144ea to f235da4 Compare June 19, 2026 17:50
@lumachad lumachad added ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jun 19, 2026
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from f235da4 to 21c9ee7 Compare June 19, 2026 18:56
@lumachad lumachad added the ci:multi-arch Temporary test label label Jun 19, 2026
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from 21c9ee7 to 703a4e6 Compare June 19, 2026 19:10
@lumachad lumachad added ci:multi-arch Temporary test label ci:multi-arch-asan Temporary test label and removed ci:multi-arch Temporary test label labels Jun 19, 2026
@lumachad lumachad closed this Jun 22, 2026
@lumachad lumachad reopened this Jun 22, 2026
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from 52d58ac to 5d793b2 Compare June 22, 2026 07:35
@lumachad lumachad added ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jun 22, 2026
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from 50c60f7 to 7dce425 Compare June 22, 2026 07:43
@lumachad lumachad added ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jun 22, 2026
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from 7dce425 to 8cbf48d Compare June 22, 2026 07:54
@lumachad lumachad added ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jun 22, 2026
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from 8cbf48d to d9bc630 Compare June 22, 2026 07:58
@lumachad lumachad added ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jun 22, 2026
lumachad and others added 4 commits July 10, 2026 06:18
Add three GitHub Actions workflows mirroring the rocm-systems multi-arch
CI setup alongside the existing single-arch therock-ci.yml:

- therock-multi-arch-ci.yml: manual (workflow_dispatch) trigger for
  on-demand release builds across gfx94X and gfx950.  Uses TheRock's
  setup_multi_arch / multi_arch_ci_linux reusable workflows at @main and
  passes external_repo so TheRock pulls in the rocgdb source under test.

- therock-multi-arch-ci-nightly.yml: cron (07:00 UTC) that dispatches
  therock-multi-arch-ci.yml on amd-staging with gfx94X,gfx950.  Uses
  workflow_dispatch rather than schedule so TheRock honours the specified
  GPU family list.

- therock-multi-arch-ci-asan.yml: fires on push to amd-staging /
  amd-staging-rocgdb-* and on workflow_dispatch.  Uses build_variant
  host-asan and the same pinned TheRock commit as the single-arch
  workflows (2d417fa, 2026-06-18).

Co-Authored-By: Claude Sonnet 4 <[email protected]>
Allow each multi-arch workflow to be triggered from a pull request by
applying the corresponding label:

  ci:multi-arch        -> therock-multi-arch-ci.yml
  ci:multi-arch-asan   -> therock-multi-arch-ci-asan.yml
  ci:multi-arch-nightly -> therock-multi-arch-ci-nightly.yml

Each workflow gains a pull_request trigger (types: [labeled]).  The
guard lives on the setup job so that downstream jobs are skipped
automatically via the needs: chain when the label is absent.

For the nightly trigger, the dispatched ref uses github.head_ref when
invoked from a PR so therock-multi-arch-ci.yml runs against the PR
branch rather than amd-staging.

Co-Authored-By: Claude Sonnet 4 <[email protected]>
ROCgdb requires -DTHEROCK_USE_EXTERNAL_ROCGDB=ON alongside
-DTHEROCK_ROCGDB_SOURCE_DIR to build from an external source directory.

Pass this flag via the extra_cmake_options field in the external_repo
JSON so TheRock's build workflows pick it up without needing to
hardcode ROCgdb-specific knowledge on the TheRock side.

Co-Authored-By: Claude Sonnet 4 <[email protected]>
Disable push/pull_request triggers on therock-ci.yml while testing the
multi-arch CI pipeline (therock-multi-arch-ci.yml). Keep workflow_dispatch
so it can still be triggered manually if needed.

Co-Authored-By: Claude Sonnet 4 <[email protected]>
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from d9bc630 to 09c6003 Compare July 10, 2026 11:24
@lumachad lumachad added ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jul 10, 2026
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from 09c6003 to 0271125 Compare July 10, 2026 12:15
@lumachad lumachad added ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jul 10, 2026
Pin all multi-arch CI workflows to the head commit of
ROCm/TheRock#5977 (users/lumachad/rocgdb/multi-arch-ci).
@lumachad lumachad force-pushed the users/lumachad/amd-staging/multi-arch branch from 0271125 to 16c55c8 Compare July 10, 2026 15:29
@lumachad lumachad added ci:multi-arch Temporary test label and removed ci:multi-arch Temporary test label labels Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:multi-arch Temporary test label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant