Skip to content

ci: switch to cvcpkg-install for per-component dep downloads#81

Open
transfix wants to merge 1 commit into
masterfrom
ci/cvcpkg-install
Open

ci: switch to cvcpkg-install for per-component dep downloads#81
transfix wants to merge 1 commit into
masterfrom
ci/cvcpkg-install

Conversation

@transfix
Copy link
Copy Markdown
Owner

Summary

Switches the fetch-libcvc-deps composite action from downloading a monolithic ~2 GB archive to using cvcpkg-install from transfix/libcvc-deps@v1.2.0, which downloads only the individual component bundles listed in cvc-requirements.yaml.

Changes

  • .github/actions/fetch-libcvc-deps/action.yml: Replaced the curl+tar/unzip/7z logic with a single delegation to transfix/libcvc-deps/.github/actions/cvcpkg-install@v1.2.0. The output interface (path) is identical, so all 30+ workflow references in ci.yml and release.yml work without modification.
  • cvc-requirements.yaml (new): Declares the 22 components libcvc and volrover3 need from libcvc-deps.

How it works

  1. The local fetch-libcvc-deps action delegates to cvcpkg-install
  2. That action sparse-checkouts libcvc-deps, installs cvcpkg, resolves cvc-requirements.yaml against the published catalog, and downloads only the listed components
  3. The prefix path is output as before — CMAKE_PREFIX_PATH usage is unchanged

Backwards compatibility

The action still falls back gracefully (empty path output) if the catalog or bundles are unavailable, preserving the existing behavior where callers gate from-source builds on steps.<id>.outputs.path != ''.

Related

…loads

Replace the monolithic archive download in the fetch-libcvc-deps
composite action with the new cvcpkg-install action from
transfix/libcvc-deps@v1.2.0. This downloads only the components
listed in cvc-requirements.yaml instead of a single ~2 GB archive.

The output interface (steps.<id>.outputs.path) is unchanged, so
all 30+ references across ci.yml and release.yml work without
modification.

- Add cvc-requirements.yaml listing all 22 components needed by
  libcvc and volrover3
- Update fetch-libcvc-deps action to delegate to cvcpkg-install
- Default version bumped from 1.0.2 to 1.2.0

See transfix/libcvc-deps#34 and the split-distribution roadmap.
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