Skip to content

Add setup-cmake#3

Merged
snnn merged 2 commits intomainfrom
snnn/p1
Mar 28, 2025
Merged

Add setup-cmake#3
snnn merged 2 commits intomainfrom
snnn/p1

Conversation

@snnn
Copy link

@snnn snnn commented Mar 28, 2025

This PR adds a new Github Action: setup-cmake

  • Implements a vcpkg setup action with download, SHA512 verification, bootstrapping, and caching.
  • Implements a CMake setup action that supports resolving the latest version, hash verification, caching, and optional PATH updates.
  • Updates action YAMLs, README documents, and CI workflows to integrate and test these new actions.

@snnn snnn marked this pull request as ready for review March 28, 2025 18:00
Copilot AI review requested due to automatic review settings March 28, 2025 18:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request introduces two new actions: one for setting up vcpkg and another for setting up CMake, along with updates to documentation and CI workflow files.

  • Implements a vcpkg setup action with download, SHA512 verification, bootstrapping, and caching.
  • Implements a CMake setup action that supports resolving the latest version, hash verification, caching, and optional PATH updates.
  • Updates action YAMLs, README documents, and CI workflows to integrate and test these new actions.

Reviewed Changes

Copilot reviewed 11 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/setup-vcpkg/index.js Implements vcpkg setup with download logic, manual hash verification, extraction, bootstrap, and caching.
src/setup-cmake/index.js Implements CMake setup with version resolution, optional Terrapin tool integration, download, verification, extraction, caching, and PATH setup.
actions/setup-vcpkg/action.yml Defines inputs, outputs, and runtime configuration for the setup-vcpkg action.
actions/setup-vcpkg/README.md Provides usage instructions and details for the setup-vcpkg action.
actions/setup-cmake/action.yml Configures inputs, outputs, and runtime details for the setup-cmake action.
actions/setup-cmake/README.md Documents the setup-cmake action features, inputs, outputs, and example usage scenarios.
README.md Updates the list of available actions with usage details and platform limitations.
.github/workflows/build.yml Adds Linux and Windows CI jobs to build, lint, test, and verify the actions.
.github/actions/locate-vcvarsall-and-setup-env/update_environment.py Introduces a script for updating GitHub Actions environment variables based on a vcvarsall setup output.
.github/actions/locate-vcvarsall-and-setup-env/action.yml Provides configuration for locating vcvarsall and setting up the environment in Windows workflows.
Files not reviewed (4)
  • .github/actions/locate-vcvarsall-and-setup-env/locate_vcvarsall.bat: Language not supported
  • package.json: Language not supported
  • test/cpp/build.bat: Language not supported
  • test/cpp/main.cpp: Language not supported

@snnn snnn merged commit c63eefe into main Mar 28, 2025
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.

3 participants