Skip to content

Fix generated installation CI and dependency setup ordering - #61

Merged
sean-parent merged 2 commits into
mainfrom
worktree-issue-58
Nov 21, 2026
Merged

sean-parent merged 2 commits into
mainfrom
worktree-issue-58

Conversation

@sean-parent

Copy link
Copy Markdown
Member

Summary

  • Make generated consumer CI source-only. Generate presets with the resolved installation option disabled for source builds and enabled for explicit installation.
  • Diagnose parent setup after a descendant using the same installation switch; state one README rule: declare dependencies after cpp_library_setup().
  • Preserve optional artifact checking and document a client-owned cel-euclid installation workflow, including separately installed GLM and CEL dependencies.

Fixes #58. Addresses the dependency-ordering hazard discussed in #37 without another client initialization API.

Test plan

Fresh local validation on macOS, AppleClang 21, CMake 4.5.1, Ninja 1.13.2, and Doxygen 1.18.0:

  • cmake -P tests/install/CMakeLists.txt — 53 assertions passed; harness retains its expected fatal-error-case skip.
  • cmake -P tests/install/test_provider_merge.cmake — passed.
  • cmake -P tests/install/test_nested_install.cmake — all cases passed, including new configure-only ordering cases.
  • cmake -P tests/install/test_package_ci.cmake — source presets, custom options, regeneration, and optional artifact checks passed.
  • cmake -P tests/setup/test_target_type.cmake — all cases passed.
  • cmake -P tests/setup/test_header_checks.cmake — all cases passed.
  • cmake -P tests/setup/test_source_testing.cmake — static/shared production coverage passed.
  • cmake -P tests/setup/test_version_override.cmake — all cases passed.
  • cmake -P tests/setup/test_install_dirs.cmake — all cases passed.
  • cmake -P tests/setup/test_runtime_dlls.cmake — host-compatible runtime deployment passed; Windows DLL behavior remains CI-only.
  • cmake -P tests/setup/test_setup_version_resolution.cmake — passed.
  • cmake -P tests/docs/test_docs.cmake — documentation regression and rendering checks passed.
  • cmake -DCPP_LIBRARY_TEST_CLANGD=ON -DCPP_LIBRARY_TEST_COMPILER_ID=AppleClang -P tests/setup/test_clangd.cmake — passed.
  • git diff --check and Ruby YAML parsing — passed.
  • During implementation, executed the example's build/install/artifact commands locally against unchanged pinned CEL dependency sources and cel-euclid de6addc01fb26ad45655b36eaa86bf07f39ca161; verified dependencies resolved inside the staged prefix.
  • Repository CI workflow: Ubuntu jobs and the existing CPM-to-installed-consumer integration job.
  • Repository CI workflow: Windows static/DLL, PowerShell scaffold, and other clangd matrix variants.

The documented example has not been executed on GitHub-hosted Ubuntu. No repository-wide formatter/linter entry point is configured for these CMake changes; consumer clang-tidy presets are not this toolkit's own build.

Generated with GitHub Copilot CLI

sean-parent and others added 2 commits November 20, 2026 20:58
Keep generated CI source-only, configure package-specific install switches in presets, and document a client-owned installation workflow.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@sean-parent sean-parent left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Talos — Review Complete

No issues found in the full PR diff against main.

Reviewed SHA: eb4f4f9d27eb0c51b9285b81385f02e89c0ceb1d.

Files Reviewers Candidates → validated → accepted Posted Tests
14 6 personas, challenge 0 → 0 → 0 0 inline, 0 overflow Fresh local CMake regressions, docs rendering, clangd, YAML parsing and diff checks passed; the follow-up CI template check was executed directly and passed.

All six baseline personas (security, correctness, standards, architecture, operations and documentation) completed, then challenge completed with no candidates. No duplicate or recurring findings and no unanchored findings were omitted. No approval was submitted.

Persona routing: static roster (DCAP routing off; rerun with --dcap to enable).

Org knowledge: off (rerun with --knowledge).

Project context: CLAUDE.md at base 7e8dfba; one GitHub custom instruction file, .github/copilot-instructions.md, loaded at that revision, applied to all 14 changed paths; no instruction diagnostics. No eligible i18n or opted-in test-quality persona.

Scout

Used: risk MEDIUM, evidence LOW, status COMPLETE (scout 0.9.135, <1s).
Cross-file leads given to reviewers: 0 changed symbol(s) with uses outside the diff, 0 new value(s) not handled everywhere, 1 possibly unused symbol(s).
Scout rated its evidence LOW for this change; reviewers used it only as leads.
Scout evidence is incomplete (rows cut by the packet budget); reviewers treated missing evidence as unknown, not as proof.

Scout also lists 3 Should Run test(s).
Scout left 3 affected-test entries out of its packet; for the full list run scout affected-tests -r '/Users/sean-parent/repos/github.com/stlab/cpp-library/.claude/worktrees/issue-58' -s compare -b main.

Verification boundary

The CI template existence check initially referenced the old filename; it was corrected in the reviewed head, validated by executing the workflow step, and the final full-diff Talos review was rerun. Latest-head Unit Tests, Documentation Test, Integration Tests, and macOS/Ubuntu clangd jobs passed. Windows static/DLL and Windows clangd jobs were still pending at publication preparation. The example workflow's exact shell steps passed locally during implementation, but the client-owned example itself has not been run on GitHub-hosted Ubuntu.

@sean-parent
sean-parent merged commit d928776 into main Nov 21, 2026
7 checks passed
@sean-parent
sean-parent deleted the worktree-issue-58 branch November 21, 2026 05: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.

Generated CI install check builds dependencies from source, contradicting documented installation

1 participant