lucteo/action-cxx-toolkit

Build C++ projects (make, cmake, conan) and runs various checks on it (warnings, install, test, clang-format, clang-tidy, sanitize, cppcheck, iwyu, coverage)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
checksThe preset to be used for building and testing the software. Can be one or multiple items (separated by comma): - build -- just build the software - warnings -- fails if there are some warnings while building - install -- check that the software can be installed - test -- check that the software can run its tests - clang-format -- check that clang-format doesn't change the files - clang-tidy -- static analysis by clang-tidy - sanitize=* -- uses sanitizer when running the tests; can be used with multiple sanitiers - cppcheck -- runs cppcheck to perform static code analyisis of the source code - iwyu -- checks that the files don't include headers that they don't need - coverage=(codecov, lcov) -- checks the coverage of the tests run; can upload data to codecov.io, or generate a coverage report with lcov ""
dependenciesUbuntu packges to install before building the software""
directoryThe directory to start building from (current working directory)""
conanfiledirThe directory to search for conanfile.txt or conanfile.py""
makefiledirThe directory to search for CMakeList.txt or Makefile""
builddirThe directory where to perform the build""
installdirThe directory where to install the software""
ccThe C compiler to use; based on it the C++ compiler is also deducedgcc
cflagsThe CFLAGS to be passed to the compilation""
cxxflagsThe CXXFLAGS to be passed to the compilation""
ignore_conanDon't run conan, even if a conanfile.{py,txt} is present in the source treefalse
ignore_cmakeDon't run cmake, even if a CMakeList.txt is present in the source treefalse
ignore_makeDon't run make, even if a Makefile is present in the source treefalse
conanflagsThe flags to be passed to conan (if using conan)""
cmakeflagsThe flags to be passed to cmake (if using cmake)""
ctestflagsThe flags to be passed to ctest (if using cmake/ctest)""
makeflagsThe flags to be passed to make (both for plain make or for build part of cmake)""
iwyuflagsExtra flags to be passed to iwyu""
cppcheckflagsExtra flags to be passed to cppcheck""
clangtidyflagsExtra flags to be passed to clang-tidy""
clangformatdirsThe directories (relative to build dir) where to run clang-format""
prebuild_commandCommand to be run before building starts""
build_commandCommand to be run to build the software (conan, cmake, make)""
postbuild_commandCommand to be run to after the software is built""
test_commandCommand to be run to test the built software""

no outputs