run-cmake

GitHub Action to build C++ applications with CMake (CMakePresets.json), Ninja and vcpkg on GitHub.

MIT License

Stars
165
Committers
9
run-cmake - [email protected] Latest Release

Published by lukka about 1 month ago

Changes:

  • Fix the matcher for the MSVC cl.exe compiler to account for the column (if present) of the error/warning location.

Note: to keep your workflow up to date with bug and security fixes, just use v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-cmake@v10

run-cmake - [email protected]

Published by lukka 12 months ago

Changes:

  • Update the action to require node v20, since v16 is out of support. If any problem occurs, please use [email protected]and create an issue.
  • Update dependencies to most recent ones: all libs and @actions packages update to most recent versions, along with all other dependencies.
  • Drop usage of gulp.
  • Update docs.

Note: to keep your workflow up to date with bug and security fixes, just use v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-cmake@v10

run-cmake - [email protected]

Published by lukka over 1 year ago

Changes:

  • Since May 2023 the GitHub Runners for Windows contain Visual Studio 2022 17.6, whose VS Developer Command Prompt (or Developer Powershell) defines the VCPKG_ROOT value. The change is that the run-cmake action avoids changing the value of VCPKG_ROOT when setting up the MSVC environment.

Note: to keep your workflow up to date with bug and security fixes, just use v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-cmake@v10

run-cmake - [email protected]

Published by lukka over 1 year ago

Changes:

  • Emit a warning message if the vcpkg's executable cannot be found and the MSVC environment cannot be setup. This happens only on Windows when VCPKG_ROOT's directory does not contain the vcpkg's executable.

Note: to keep your workflow up to date with bug and security fixes, just use v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-cmake@v10

run-cmake - [email protected]

Published by lukka over 1 year ago

Changes:

Note: to keep your workflow up to date with bug and security fixes, just use v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-cmake@v10

run-cmake - [email protected]

Published by lukka over 1 year ago

Changes:

Note: to keep your workflow up to date with bug and security fixes, just use v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-cmake@v10

run-cmake - [email protected]

Published by lukka almost 2 years ago

Changes:

Fixes: https://github.com/lukka/run-cmake/issues/92

Note: to keep your workflow up to date with bug and security fixes, just use v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-cmake@v10

run-cmake - [email protected]

Published by lukka almost 2 years ago

Changes:

Note: to keep your workflow up to date with bug and security fixes, just use v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-cmake@v10

run-cmake - run-cmake@v10 - Support for CMakePreset.json

Published by lukka about 3 years ago

Changes:

  • Redesigned the inputs to support CMakePresets.json. All build/test process must be driven by the CMakePresets.json file, which ensures reproducible builds locally on your development machine, and remotely on build agents.
  • Simplified the codebase to make maintainability much easier with the following changes:
    • Dropped support for CMakeSettings.json, advanced and basic modes.
    • Dropped any http download of Ninja. The get-cmake action must be used instead.
run-cmake - run-cmake v3.4 - dump CMakeOutput.log and vcpkg's log into the workflow log

Published by lukka over 3 years ago

Changes:

The run-cmake action accepts a list of regular expressions (in logCollectionRegExps input) that are used to identify log files and dump their content in the workflow log, to ease diagnosing failures. The default regular expressions are for CMake and vcpkg generated log files.

Note: to keep your workflow up to date with bug and security fixes, just use v3 branch to stay on the most recent v3.x version of this action, e.g., uses: lukka/run-cmake@v3

run-cmake - run-cmake v3.3

Published by lukka almost 4 years ago

Changes:

  • update the quickstart documentation to show how to properly use run-vcpkg and run-cmake to properly handle the vcpkg.json manifest file and cache the vcpkg artifacts.
  • consuming more recent version of dependencies.

Note: to keep your workflow up to date with bug and security fixes, just use v3 branch to stay on the most recent v3.x version of this action, e.g., uses: lukka/run-cmake@v3

run-cmake - Use ninja v1.10.1 and hide environment dump

Published by lukka almost 4 years ago

Release v3.2 of run-cmake bumps to 1.10.1 the version of Ninja automatically downloaded. It also hides in a foldable section the dump of the environment variables when the agent is running on Windows.

Note: just use v3 branch to stay on the most recent v3.x version of this action, e.g., uses: lukka/run-cmake@v3

run-cmake - Security fix service release for run-cmake@v3

Published by lukka about 4 years ago

Version v3.1 is a service release for fixing security issue on branch v3,

Note: just use v3 branch to stay on the most recent v3.x version of this action.

No new functionality.

Code has been refactored to leverages NPM packages published from: https://github.com/lukka/run-cmake-vcpkg-action-libs

The initially created solution based on a common Git submodule for sharing code among multiple GitHub Actions and Azure DevOps tasks has been dropped!

Now using NPM packages it is easier than ever to contribute by adding new features or fix bugs.

All unit tests have been moved into the NPM packages repository.

run-cmake - Fix CMake generators for VS2017

Published by lukka over 4 years ago

run-cmake - Add inline annotations in source code for errors and warnings

Published by lukka over 4 years ago

Add in-line annotations for CMake and gcc/msvc/clang errors and warnings.

image

image

run-cmake - Removed stray commas in action.yml

Published by lukka over 4 years ago

run-cmake - just fixes

Published by lukka over 4 years ago

run-cmake - Add Ninja Multi Config support and fixes

Published by lukka over 4 years ago

  1. add Ninja Multi Config support and fixes
  2. fix issue with using ${{env}} in actions.yml file
run-cmake - Add shell support

Published by lukka over 4 years ago

  • Added useShell input (true by default); it is now possible to use shell environment variables on action's inputs.
  • When downloaded, the action uses ninja v1.10;
Package Rankings
Top 1.51% on Github actions
Badges
Extracted from project README
Action Status Coverage Status