Skip to content

Conversation

@sean-parent
Copy link
Member

@sean-parent sean-parent commented Nov 11, 2025

Note

Expands CI with named OS/compiler matrix and install/find_package verification, renames project, updates cpp-library reference, and adds an install CMake preset.

  • CI:
    • Expand matrix to named configs: Ubuntu GCC, Ubuntu Clang, macOS, Windows; set fail-fast: false.
    • Conditional CMake configure/build using CC/CXX per matrix entry.
    • Add build-and-install step and a find_package(stlab-enum-ops) verification using CMAKE_PREFIX_PATH.
  • Build System:
    • Rename project from stlab-enum-ops to enum-ops in CMakeLists.txt.
    • Update cpp-library dependency to a specific commit (4f09b3b...).
    • Add CPM_SOURCE_CACHE setup when not predefined.
    • Add install configure/build presets in CMakePresets.json for local install testing.

Written by Cursor Bugbot for commit d212a13. This will update automatically on new commits. Configure here.

Added conditional execution for environment setup and CMake configuration steps based on the presence of matrix.cc.
Changed the stlab/cpp-library commit hash in CPMAddPackage to 69e1aff67499f3fb227f279a5472e46d312b3a84 for improved compatibility or bug fixes.
Bumped the stlab/cpp-library dependency from commit 69e1aff to 39419e2 to incorporate recent changes and improvements from the upstream repository.
Removes the install-test job from the CI workflow and updates the stlab/cpp-library dependency to a new commit hash in CMakeLists.txt. Also fixes quoting in INSTALL_PREFIX assignment for cross-platform compatibility.
Renamed the CMake project from 'stlab-enum-ops' to 'enum-ops' and updated the referenced dependency hash for 'cpp-library'. Also updated the CI workflow to use the new project name in find_package and status messages.
The CI workflow now sets CC and CXX environment variables conditionally based on the matrix, and splits the build/install steps accordingly. The cpp-library dependency is updated to commit 4f09b3b7f0abcc4ef1b39060ce03784920ce32e5 in CMakeLists.txt.
find_package(stlab-enum-ops REQUIRED)
message(STATUS "Successfully found stlab-enum-ops")
Copy link

Choose a reason for hiding this comment

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

Bug: Package name mismatch between CMakeLists and workflow test

The workflow test tries to find a package named stlab-enum-ops, but the project name in CMakeLists.txt was changed to enum-ops. This mismatch will cause the cmake command in the "Test find_package" step to fail with a package not found error, since the generated CMake config files will use the new project name.

Fix in Cursor Fix in Web

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.

2 participants