Repository navigation
ci(publish): publish the full libcvc package family (cvcgl, pycvc, pycvc-gl) - #129
Merged
Merged
Conversation
…cvc-gl)
The publish-cvcpkg workflow previously published only libcvc. Extend the
existing build matrix jobs to also build, pack, and publish the rest of
the family from their in-repo recipes (cvcpkg/recipes/{cvcgl,pycvc,pycvc-gl})
against the just-installed libcvc SDK + fetched deps prefix.
Coverage:
- Linux (release): libcvc + cvcgl + pycvc + pycvc-gl. Installs
python311/numpy-cp311/vtk into a side prefix; works around the
numpy-cp311 wheel's non-self-resolving openblas RPATH by putting
numpy.libs on LD_LIBRARY_PATH for configure and computing the numpy
include dir with it (TODO: drop once the numpy recipe is fixed).
- Windows (release): libcvc + cvcgl always (no Python needed). pycvc /
pycvc-gl are gated behind a new `windows_pycvc` workflow_dispatch input
(default off) and clearly marked EXPERIMENTAL/TODO — Windows Python +
numpy + SWIG discovery is unverified.
- macOS: libcvc only (no macOS VTK bundle on the catalog yet).
Family packages build only in RELEASE jobs (they pack --config release).
Each package step is guarded with `!cancelled() && steps.build-libcvc.outcome
== 'success'` so packages stay independent of each other (a pycvc failure
never blocks libcvc or cvcgl) while real failures remain visible as red
steps rather than being masked with continue-on-error.
Also documents on CVCPKG_TOKEN that the token's owning user must be a member
of the cvc org (owner/publisher) or publish 403s.
transfix
added a commit
that referenced
this pull request
Sep 26, 2026
…b-3 PRs open (#427) Reflect actual state: Track 1 (a-d) MERGED (#421-#424), Track 2 MERGED (GRL-SNAM#96), Track 3a MERGED (cvcdbg#128/#129), Track 3b-1 MERGED (#425). Track 3b-2 (raster bridge, #426) + Track 3b-3 (RF publisher + demo3 wiring, cvcdbg#130) PRs open in CI. Document the 3b split (3b-1 base/formation, 3b-2 version-gated volume rasters, 3b-3 RF+demo) and the Track-4 reserved RF fields (composite_score / cvar_jam_loss / worst_jam_loss).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Extends
.github/workflows/publish-cvcpkg.ymlso the publish CI publishes the whole libcvc package family to thecvcorg, not justlibcvc. The extra packages build/pack/publish in the same build-matrix jobs, against the just-installed libcvc SDK (stage) + the fetched deps prefix, from their in-repo recipescvcpkg/recipes/{cvcgl,pycvc,pycvc-gl}.Per-platform coverage
windows_pycvcdispatch input (default off, EXPERIMENTAL/TODO)Family packages build in release matrix jobs only (they pack
--config releaseagainst the release Python/numpy/VTK bundles).Steps added (Linux)
cvcpkg install python311 numpy-cp311 vtkinto a side prefix$PY. Works around thenumpy-cp311wheel's non-self-resolving openblas RPATH by puttingnumpy.libsonLD_LIBRARY_PATHfor configure and computing the numpy include dir with it. (TODO: drop once the numpy recipe fixes the wheel RPATH and republishes — separate libcvc-deps PR.)cmake -S src/cvcGLagainst$STAGE;$PY;$DEPS(VTK lives in$PY) → installstage-cvcgl→ packcvcpkg/recipes/cvcgl→ publish.cmake -S bindings/pycvc -DCVC_BUILD_PYCVC_CORE=ON -DCVC_BUILD_PYCVC_GL=OFFwithPython3_EXECUTABLE/Python3_NumPy_INCLUDE_DIR→ installstage-pycvc→ pack → publish.CORE=OFF GL=ON, prefix path addsstage-cvcgl(links the installed cvcGL) → pack → publish.Windows
windows_pycvcworkflow_dispatchinput (defaultfalse) and marked EXPERIMENTAL/TODO — Windows Python + numpy + SWIG discovery is unverified. Tag pushes never run them.Independence & failure visibility
Each family step is guarded with
!cancelled() && steps.build-libcvc.outcome == 'success':continue-on-error.Token note
Added a comment on
CVCPKG_TOKENstating the requirement (unchanged in this PR): in prod the token's owning user must be a member of thecvcorg (owner/publisher) or every publish 403s. No secrets added or rotated here.Validation
actionlintnot available on this host; validated withpython -c "import yaml; yaml.safe_load(...)"— parses clean. Local end-to-end of the Linux build/pack/publish sequence was verified before writing the workflow.