Skip to content

CI: Add basic per-PR build + smoke test workflow - #9

Merged
adesai773 merged 1 commit into
masterfrom
adesai/add-pr-ci
Aug 18, 2026
Merged

CI: Add basic per-PR build + smoke test workflow#9
adesai773 merged 1 commit into
masterfrom
adesai/add-pr-ci

Conversation

@adesai773

@adesai773 adesai773 commented Aug 18, 2026

Copy link
Copy Markdown

Goal

Add a basic per-PR CI check for this fork. Every pull request (any base branch) now runs a fast CPU-only build and a smoke test on ubuntu-latest; the workflow can also be dispatched manually.

What it does

Single job build-smoke (timeout-minutes: 30, concurrency group cancels superseded runs on the same PR):

  1. Install build deps (autoconf, automake, libtool, pkg-config, libnuma-dev).
  2. ./autogen.sh + ./contrib/configure-release --without-verbs (the canonical release configure used by upstream's buildlib/tools/builds.sh; --without-verbs since GitHub runners have no RDMA stack).
  3. make -j$(nproc).
  4. Smoke test: ./src/tools/info/ucx_info -v and -d to prove the build produced a working binary and enumerates transports.

This is intentionally a starter stub: the gtest suite is too slow to build and run within a reasonable PR budget, so it is not included. The existing blossom-ci.yml (NVIDIA's comment-triggered CI inherited from upstream) is untouched to keep upstream merges clean.

Admin follow-up (cannot be done from a workflow file)

  • Make the check merge-blocking. Add the CPU build + ucx_info smoke test job as a required status check via branch protection / ruleset on master.

Test Plan

  • actionlint on the workflow file — clean.
  • YAML parses (yaml.safe_load).
  • End-to-end: the workflow triggered on this PR itself and passed in 3m26s (run) — build green, ucx_info reports library version 1.22.0 and enumerates transports.

🤖 Generated with Claude Code

Adds a GitHub Actions workflow that runs on every pull request:
CPU-only release build via autogen/configure-release, then a
ucx_info smoke test. Starter scope only; gtest is intentionally
excluded to keep runtime short.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@adesai773
adesai773 merged commit 29c4b1b into master Aug 18, 2026
1 check passed
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