{"repo":"lpenz/ghaction-cmake","free":true,"listed":false,"github":"https://github.com/lpenz/ghaction-cmake","clone":"git clone https://github.com/lpenz/ghaction-cmake.git","description":"cmake swiss army knife github docker action","language":"Python","stars":23,"topics":["cmake","docker","coverage","lint","cppcheck","clang-tidy","iwyu","valgrind","clang-sanitizers","github-actions"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"ghaction-cmake ghaction-cmake is a github action for projects that use cmake. By default, it builds, tests and installs the project - but it can as easily run linters, tests with coverage, valgrind or sanitizers, by using presets. Phases ghaction-cmake runs in phases: - setup : optionally install dependencies and go to a specified directory. - cmake : run cmake in an empty directory, pointing to the source directory, with all other arguments appended. This guarantees that out-of-tree builds work. - build : customizable, make VERBOSE=1 by default (build commands are shown). - test : customizable, ctest --output-on-failure . by default. - post : customizable, empty by default. Inputs preset Set a preset, more information on the Presets section below. - Phase: can changes the default command of any number of phases. working-directory Use this directory as the source dir for cmake. Mostly used when the cmake project is in a subdirectory of the repository. - Phase: setup - Preset behavior: unaffected. pre command Custom command to run before dependencies are installed. Use this to add third-party Debian repositories or increment the setup phase in other ways. - Phase: setup - Preset behavior: unaffected. dependencies debian Project dependencies as Debian packages to install in the container, separated by spaces. - Phase: setup - Preset behavior: unaffected. cmakeflags Flags for cmake. -DSOME OPTION=On , for instance, to pass an option to CMakeLists.txt. - Phase: cmake - Preset beh","default_branch":null,"files":null,"tree":[],"storefront":"/r/lpenz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lpenz/ghaction-cmake/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}