Skip to content

Build the MOOS examples, interface figures and checks, and test figures in CI - #61

Merged
tsaubergine merged 1 commit into
mainfrom
ci-optional-builds
Nov 12, 2026
Merged

tsaubergine merged 1 commit into
mainfrom
ci-optional-builds

Conversation

@tsaubergine

@tsaubergine tsaubergine commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

CI now builds the parts of the examples that were off by default:

  • build_moos: the GPS and trail MOOS plugins, and the gobyexample_protobuf library. CI now installs libgoby3-moos-dev.
  • export_goby_interfaces:
    • goby_clang_tool interface files for every example.
    • A figure for each deployment, drawn with goby interface visualize and rendered to PDF with Graphviz.
    • The goby3_example_interfaces_* (validate) and goby3_example_launch_* (launch_check) tests.
    • CI now installs goby3-clang-tool, goby3-interfaces and graphviz.
  • build_interface_figures_d2: the deployment figures as D2, rendered to SVG. d2 v0.7.0 is installed from its GitHub release and pinned with D2_VERSION, the same way as Julia.
  • build_test_figures: an SVG of each test harness plan, drawn with goby test visualize.

A new step replaces the Zenoh-only check. It fails the job when something that CMake only warns about was not built:

  • the Zenoh, MAVLink and chat examples;
  • the MOOS plugins;
  • a PDF and D2 SVG for every deployment;
  • the validate and launch_check tests.

Also: option(export_goby_interfaces …) had its help string and default swapped.

Test plan

  • Locally on noble with the 3.0 continuous packages, using the new configure flags (without Python and Julia): the build succeeds and ctest passes 31/31. The Graphviz PDFs, .d2 files, 6 test figures, MOOS plugins, MAVLink and chat are all built.
  • I ran the new check step against that build. It flags only what is missing locally (Zenoh isn't installed, and d2 can't be downloaded here) and passes everything else.
  • CI on this PR: all five distributions pass, including the d2 install and SVG rendering.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TCmHEtuYatVV6nSaJPTa6z

…es in CI

CI now configures with build_moos, export_goby_interfaces,
build_interface_figures_d2 and build_test_figures, installing what they
need (libgoby3-moos-dev, goby3-clang-tool, goby3-interfaces, graphviz,
d2). A new step fails the job if an example, figure or interface check
that is only dropped with a warning was not built: the Zenoh, MAVLink
and chat examples, the MOOS plugins, the deployment PDFs and D2 SVGs,
and the interface validate and launch_check tests.

export_goby_interfaces's option() had its help string and default
swapped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TCmHEtuYatVV6nSaJPTa6z
@tsaubergine
tsaubergine merged commit 770e919 into main Nov 12, 2026
5 checks passed
@tsaubergine
tsaubergine deleted the ci-optional-builds branch November 12, 2026 10:08
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