Skip to content

CI: Windows deps via cvcpkg 2.5.15 from cy-pca/cvcpkg, not the archived libcvc-deps - #53

Merged
transfix merged 1 commit into
masterfrom
ci/cvcpkg-from-cy-pca
Nov 20, 2026
Merged

transfix merged 1 commit into
masterfrom
ci/cvcpkg-from-cy-pca

Conversation

@transfix

Copy link
Copy Markdown
Owner

Why

ci.yml's Windows lane still installed cvcpkg from transfix/libcvc-deps. That repo was archived on 2026-09-16 and is frozen at cvcpkg 2.2.1. The lane used it twice:

  • transfix/libcvc-deps/.github/actions/cvcpkg-install@master installs cvc-requirements.yaml, and it pip-installs the libcvc-deps tree it checks out.
  • A second step force-reinstalled all of libcvc-deps from git. Its only purpose was to get the recipes bundled with that package, so GLEW could be built from source on Windows.

publish-cvcpkg.yml already installs cvcpkg from cy-pca/cvcpkg (#51, #52).

2.2.1's resolver also checks only one direction. It can pair packages from two releases of one family while that family is half-published, which broke CVC-Lab/GRL-SNAM's CI during libcvc 4.0.1's publish (CVC-Lab/GRL-SNAM#193). cvcpkg 2.5.1 and later check both directions (cy-pca/cvcpkg#251). GRL-SNAM made the same move in CVC-Lab/GRL-SNAM#197.

Change

  • The install action. It is now cy-pca/cvcpkg's copy of the same action, at cvcpkg-v2.5.15, with repository: cy-pca/cvcpkg and libcvc_deps_ref: cvcpkg-v2.5.15. requirements: is still this repo's cvc-requirements.yaml.
  • The reinstall and the GLEW source fallback are removed. GLEW is in cvc-requirements.yaml, and the catalog now has a windows/x86_64 release/shared build of it (glew 2.2.0+cvc.2).
  • A new step, "Check the cvcpkg prefix", replaces them.
    • It fails at once if the action's install failed. The action reports a failure as an empty path rather than failing the step.
    • It checks that GL/glew.h is in the prefix.

Testing

  • Install step, locally. A sparse checkout of cy-pca/cvcpkg at cvcpkg-v2.5.15, with the action's paths, pip-installs as cvcpkg, version 2.5.15.
  • GLEW, locally on Windows. cvcpkg install glew --platform windows --arch x86_64 --config release --link shared with that build installs glew from the catalog: include/GL/glew.h, wglew.h and bin/glew32.dll.
  • The workflow still parses as YAML.
  • End to end: this PR's Windows build job installs the whole cvc-requirements.yaml with it.

…ed libcvc-deps

The Windows lane installed cvc-requirements.yaml with transfix/libcvc-deps'
cvcpkg-install action, which pip-installs that repo's tree (cvcpkg 2.2.1,
frozen since it was archived on 2026-09-16). It then force-reinstalled all
of libcvc-deps from git so its bundled recipes could build GLEW from source.

Now the action is cy-pca/cvcpkg's copy at cvcpkg-v2.5.15, told to check out
and pip-install cy-pca/cvcpkg at that tag, as publish-cvcpkg.yml already
does. The reinstall and the GLEW source fallback are gone: GLEW is in
cvc-requirements.yaml and has a windows/x86_64 release/shared bundle on the
catalog (2.2.0+cvc.2). In their place, one step fails at once if the
action's install failed (it reports that as an empty path), and checks that
GL/glew.h is in the prefix.

2.2.1's resolver also checks only one direction, so it can mix releases of
a package family that is half-published (CVC-Lab/GRL-SNAM#193); 2.5.1 and
later check both (cy-pca/cvcpkg#251).
@transfix
transfix merged commit 055f561 into master Nov 20, 2026
6 checks passed
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