Skip to content

Add Ubuntu ARM64 runner and packaging to vdf-client HW CI#320

Merged
hoffmang9 merged 5 commits into
mainfrom
add-ubuntu-arm64-vdf-client-hw
Feb 23, 2026
Merged

Add Ubuntu ARM64 runner and packaging to vdf-client HW CI#320
hoffmang9 merged 5 commits into
mainfrom
add-ubuntu-arm64-vdf-client-hw

Conversation

@hoffmang9
Copy link
Copy Markdown
Member

@hoffmang9 hoffmang9 commented Feb 23, 2026

Summary

  • add ubuntu-24.04-arm to vdf-client-hw matrix and update Ubuntu-only conditions to include both Ubuntu runners
  • select FT4222 Linux library path by architecture (build-x86_64 vs build-arm-v8) in install script, Makefile, and CMake
  • build/upload Ubuntu .deb packages for both amd64 and arm64, with architecture-specific artifact naming

Test plan

  • Run vdf-client-hw on PR and confirm Ubuntu x86_64 + Ubuntu ARM64 jobs are green
  • Verify both Ubuntu jobs upload installer artifacts (installer-ubuntu-latest and installer-ubuntu-24.04-arm)
  • On release flow, confirm both .deb files are attached to the release

Made with Cursor


Note

Medium Risk
CI/build and packaging logic changes that can affect release artifacts and Linux runtime linking, but are largely isolated to workflow and build scripts.

Overview
Adds ubuntu-24.04-arm to the vdf-client-hw CI matrix and broadens Ubuntu-only conditionals (TSAN workaround, build, tests, packaging, and release uploads) to run on both Ubuntu runners.

Makes FT4222 Linux library selection architecture-aware across scripts/get-libft4222.sh, src/Makefile.vdf-client, and src/CMakeLists.txt (choose build-x86_64 vs build-arm-v8, with explicit unsupported-arch failures). Ubuntu artifact uploads and .deb assembly now include arch-specific libft4222.so paths and name installers per runner (e.g., installer-ubuntu-24.04-arm).

Written by Cursor Bugbot for commit caeee52. This will update automatically on new commits. Configure here.

This updates Linux FT4222 path selection for arm64 and extends the HW workflow to build, test, and publish architecture-specific Ubuntu artifacts for both amd64 and arm64 runners.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread .github/workflows/vdf-client-hw.yml Outdated
Comment thread src/CMakeLists.txt
This limits Linux artifact uploads to the active Ubuntu architecture and makes CMake fail fast on unsupported Linux processors while recognizing common armv8 variants.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread src/Makefile.vdf-client Outdated
This aligns the Makefile behavior with the install script and CMake by emitting a clear error instead of silently defaulting to the x86_64 library path.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread src/Makefile.vdf-client
hoffmang9 and others added 2 commits February 23, 2026 14:05
Allow ARCH overrides and canonicalize common aliases so FT4222 library selection and asm object gating work reliably across CI environments.

Co-authored-by: Cursor <cursoragent@cursor.com>
Exclude src/libft4222 generated by FT4222 setup scripts so local dependency artifacts do not appear as untracked changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@hoffmang9 hoffmang9 merged commit 19c25b9 into main Feb 23, 2026
96 of 98 checks passed
@hoffmang9 hoffmang9 deleted the add-ubuntu-arm64-vdf-client-hw branch February 23, 2026 22:40
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.

2 participants