Skip to content

Add nightly HIP build CI workflow#777

Merged
chrxh merged 3 commits into
developfrom
claude/hip-nightly-ci
Jul 3, 2026
Merged

Add nightly HIP build CI workflow#777
chrxh merged 3 commits into
developfrom
claude/hip-nightly-ci

Conversation

@chrxh

@chrxh chrxh commented Jul 3, 2026

Copy link
Copy Markdown
Owner

What

Adds .github/workflows/hip-nightly.yml: a nightly (04:00 UTC) + manually dispatchable GitHub Actions job that builds ALIEN through the ROCm/HIP path (-DUSE_HIP=ON), complementing the existing CUDA linux-build and windows-build workflows.

Why

The HIP compatibility layer (hip/, USE_HIP CMake wiring) is only exercised manually today. A nightly build surfaces regressions in that path before they land.

How

  • GitHub-hosted ubuntu-24.04 runner (no AMD GPU) → offline compile only; CMAKE_HIP_ARCHITECTURES is pinned (gfx1100) since enable_language(HIP) cannot auto-detect an arch without a GPU.
  • Installs ROCm via the repo.radeon.com apt repo (rocm-hip-runtime-dev — HIP compiler + headers + device libs, no driver needed).
  • Installs CMake ≥3.31 via pipx (the project requires it; 24.04 ships older).
  • Configures with the ninja preset + -DUSE_HIP=ON -DCMAKE_PREFIX_PATH=/opt/rocm, exactly the invocation documented in the README.
  • Runs the two GPU-free suites (EngineInterfaceTests, NetworkTests) as a smoke test; the GPU-bound EngineTests is skipped (no AMD GPU on the runner).
  • Mirrors windows-ci.yml: skips when there were no commits in the last 24h; frees runner disk before the heavy vcpkg + ROCm install.

Not verified locally

No ROCm/AMD hardware was available to run this — the workflow is unverified end-to-end. The first CI run may need tweaks to the exact ROCm package set, the pinned HIP_ARCH, or disk headroom.

🤖 Generated with Claude Code

@chrxh chrxh force-pushed the claude/hip-nightly-ci branch from fc9cac6 to 6082000 Compare July 3, 2026 15:03
@chrxh chrxh force-pushed the claude/hip-nightly-ci branch from 612ef00 to 09bad55 Compare July 3, 2026 15:17
@chrxh chrxh marked this pull request as ready for review July 3, 2026 15:19
@chrxh chrxh merged commit 5547e66 into develop Jul 3, 2026
1 check passed
@chrxh chrxh deleted the claude/hip-nightly-ci branch July 3, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant