Skip to content

publish-cvcpkg: ari, ari-media and arisrv in debug on Linux and macOS - #1580

Merged
transfix merged 2 commits into
masterfrom
feat/debug-ari-lanes
Nov 27, 2026
Merged

transfix merged 2 commits into
masterfrom
feat/debug-ari-lanes

Conversation

@transfix

@transfix transfix commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

On each v* tag, ari, ari-media and arisrv now publish debug bundles on Linux (x86_64, arm64) and macOS (arm64, x86_64). Those are the rows that already publish a debug libcvc.

What

There are six steps: ari, ari-media and arisrv, each on Linux and macOS. In each one:

  • the if: loses matrix.config == 'release' (the pyver == '311' guard stays, so each still runs once per row);
  • CVC_BUILD_TYPE comes from matrix.config, so a debug row makes a Debug build against the debug libcvc it just built;
  • cvcpkg pack and cvcpkg publish take --config "${{ matrix.config }}".

The smoke checks are unchanged and run on the debug binaries too. ari renders the terminal tour. ari-media reports its player and plays the test clip. arisrv opens a room and stops on SIGTERM. Their deps (sdl3, ffmpeg-lgpl) stay release, as libcvc's do in these rows. Revisions come from compute-revisions, which works per package, so the debug bundles get the release bundles' +cvc.N. The header comments say all this. Windows still has no debug row (matrix exclude): its C++ deps would need debug builds.

Installing them

cvcpkg install ari --config debug needs cy-pca/cvcpkg#645. With it, a debug install gets the closure these lanes build against, everywhere but Windows: the cvc org's packages (ari, libcvc) in debug, and other orgs' packages (sdl3, ffmpeg-lgpl, boost, ...) in release. Today's client resolves every dep in debug, so it backtracks to libcvc 3.4.0+cvc.8. Installing debug assimp/hdf5/protobuf would not work either: they rename their libraries (libassimpd.so.6), and a debug libcvc cannot load them. #645 checked debug libcvc 4.0.9 that way in an empty linux/x86_64 prefix: every .so resolves and dlopen(RTLD_NOW) succeeds.

Storage

ari, ari-media and arisrv release bundles are about 0.1 MiB each. The debug ones, from the dry run, add about 10.5 MiB per release across the four rows. On Linux they are ari 1.0, ari-media 1.2 and arisrv 2.3 MiB per arch (4.5 MiB). On macOS they are 0.2, 0.2 and 0.3 MiB per arch (0.7 MiB). That is about 2.6% of the 408 MiB the four debug libcvc bundles already add per release.

Checked

Dry run publish-cvcpkg 45919228037 on this branch (dry_run=true: packs, publishes nothing, uploads nothing). Passed on the four debug rows. Each built ari, ari-media and arisrv in Debug (-- Install configuration: "Debug"), ran their smoke checks, packed <pkg>-4.0.9+cvc.2-<platform>-<arch>-debug-shared, and logged dry-run: skipping <pkg> publish. The run passed: all 15 build rows, the release ones included (linux x86_64 cp311-313, linux arm64, macOS arm64 and x86_64, and Windows).

The debug rows (linux x86_64/arm64, macos arm64/x86_64) already build and
publish a debug libcvc. ari, ari-media and arisrv link only libcvc of the
family, so they now build in those rows too. Each is a Debug build
(CVC_BUILD_TYPE from matrix.config) against that row's debug libcvc and the
release deps it links. Each runs the same smoke checks and packs and
publishes --config debug. They share the release bundles' +cvc.N
(compute-revisions is per package).

A `cvcpkg install <pkg> --config debug` gets those release deps through
cy-pca/cvcpkg#645. Windows has no debug row: its C++ deps would need debug
builds.
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