setup-cpp/action.yml

108 lines
3.9 KiB
YAML

name: "Setup Cpp (C++ / C)"
description: "Install all the tools required for building and testing C++/C projects."
author: "Amin Yahyaabadi"
inputs:
timeout:
description: "The timeout for installation of one tool (in minutes)."
default: "20"
required: false
cache-tools:
description: "If should cache the installed tools? (Default: false)"
required: false
architecture:
description: "The CPU architecture"
required: false
compiler:
description: "The compiler to use and its optional version separated by - e.g. llvm-13.0.0"
required: false
llvm:
description: "Wether to install llvm (true/false) or the specific version to install"
required: false
gcc:
description: "Wether to install gcc (true/false) or the specific version to install"
required: false
msvc:
description: "Wether to install msvc (true/false) or the specific version to install"
required: false
vcvarsall:
description: "If should run vcvarsall?"
required: false
cppcheck:
description: "Wether to install cppcheck (true/false) or the specific version to install."
required: false
clangtidy:
description: "The clangWether to install tidy (true/false) or the specific version to install."
required: false
clangformat:
description: "The clangWether to install format (true/false) or the specific version to install."
required: false
cmake:
description: "Wether to install cmake (true/false) or the specific version to install."
required: false
ninja:
description: "Wether to install ninja (true/false) or the specific version to install."
required: false
conan:
description: "Wether to install conan (true/false) or the specific version to install."
required: false
make:
description: "Wether to install make (true/false) or the specific version to install."
required: false
task:
description: "Wether to install task (true/false) or the specific version to install."
required: false
vcpkg:
description: "Wether to install vcpkg (true/false) or the specific version to install."
required: false
meson:
description: "Wether to install meson (true/false) or the specific version to install."
required: false
choco:
description: "Wether to install chocolatey (true/false) or the specific version to install."
required: false
brew:
description: "Wether to install brew (true/false) or the specific version to install."
required: false
nala:
description: 'Wether to install nala (true/false) or the specific version to install ("" or "legacy").'
required: false
ccache:
description: "Wether to install ccache (true/false) or the specific version to install."
required: false
sccache:
description: "Wether to install sccache (true/false) or the specific version to install."
required: false
doxygen:
description: "Wether to install doxygen (true/false) or the specific version to install."
required: false
graphviz:
description: "Wether to install graphviz (true/false) or the specific version to install."
required: false
gcovr:
description: "Wether to install gcovr (true/false) or the specific version to install."
required: false
opencppcoverage:
description: "Wether to install opencppcoverage (true/false) or the specific version to install."
required: false
kcov:
description: "Wether to install kcov (true/false) or the specific version to install."
required: false
sevenzip:
description: "Wether to install 7z (true/false) or the specific version to install."
required: false
powershell:
description: "Wether to install powershell (true/false) or the specific version to install."
required: false
python:
description: "Wether to install python (true/false) or the specific version to install."
required: false
runs:
using: "node20"
main: "dist/actions/setup-cpp.js"
branding:
icon: "award"
color: "blue"