Skip to content

Commit

Permalink
fix: add missing brew input to actions.yml + fix ccache input + impro…
Browse files Browse the repository at this point in the history
…ve description
  • Loading branch information
aminya committed Aug 13, 2024
1 parent f898162 commit 933c6ea
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 47 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Setting up a **cross-platform** environment for building and testing C++/C proje
| compiler and analyzer | llvm, gcc, msvc, vcvarsall, cppcheck, clangtidy, clangformat |
| build system | cmake, ninja, meson, make, task, bazel |
| package manager | vcpkg, conan, choco, brew, nala |
| cache | cppcache, sccache |
| cache | ccache, sccache |
| documentation | doxygen, graphviz |
| coverage | gcovr, opencppcoverage, kcov |
| other | python, powershell, sevenzip |
Expand Down
84 changes: 45 additions & 39 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,93 +3,99 @@ description: "Install all the tools required for building and testing C++/C proj
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
compiler:
description: "The compiler to use and its optional version separated by - e.g. llvm-13.0.0"
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: "The llvm version to install"
description: "Wether to install llvm (true/false) or the specific version to install"
required: false
gcc:
description: "The gcc version to install"
description: "Wether to install gcc (true/false) or the specific version to install"
required: false
msvc:
description: "The msvc version to install"
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: "The cmake version to install."
description: "Wether to install cmake (true/false) or the specific version to install."
required: false
ninja:
description: "The ninja version to install."
description: "Wether to install ninja (true/false) or the specific version to install."
required: false
conan:
description: "The conan version to install."
description: "Wether to install conan (true/false) or the specific version to install."
required: false
make:
description: "The make version to install."
description: "Wether to install make (true/false) or the specific version to install."
required: false
task:
description: "The task version to install."
description: "Wether to install task (true/false) or the specific version to install."
required: false
vcpkg:
description: "The vcpkg version to install."
description: "Wether to install vcpkg (true/false) or the specific version to install."
required: false
meson:
description: "The meson version to install."
description: "Wether to install meson (true/false) or the specific version to install."
required: false
gcovr:
description: "The gcovr version to install."
choco:
description: "Wether to install chocolatey (true/false) or the specific version to install."
required: false
python:
description: "The python version to install."
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: "The ccache version to install."
description: "Wether to install ccache (true/false) or the specific version to install."
required: false
sccache:
description: "The sccache version to install."
description: "Wether to install sccache (true/false) or the specific version to install."
required: false
doxygen:
description: "The doxygen version to install."
description: "Wether to install doxygen (true/false) or the specific version to install."
required: false
graphviz:
description: "The graphviz version to install."
required: false
cppcheck:
description: "The cppcheck version to install."
required: false
clangtidy:
description: "The clang-tidy version to install."
description: "Wether to install graphviz (true/false) or the specific version to install."
required: false
clangformat:
description: "The clang-format version to install."
gcovr:
description: "Wether to install gcovr (true/false) or the specific version to install."
required: false
opencppcoverage:
description: "The opencppcoverage version to install."
description: "Wether to install opencppcoverage (true/false) or the specific version to install."
required: false
kcov:
description: "The kcov version to install."
description: "Wether to install kcov (true/false) or the specific version to install."
required: false
sevenzip:
description: "The 7z version to install."
required: false
nala:
description: 'The nala version to install ("" or "legacy").'
description: "Wether to install 7z (true/false) or the specific version to install."
required: false
powershell:
description: "The powershell version to install."
description: "Wether to install powershell (true/false) or the specific version to install."
required: false
timeout:
description: "The timeout for installation of one tool (in minutes)."
default: "20"
python:
description: "Wether to install python (true/false) or the specific version to install."
required: false

runs:
Expand Down
2 changes: 1 addition & 1 deletion dist/actions/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/actions/setup-cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/cli-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ All the available tools:
"compiler and analyzer": { tools: "--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat" },
"build system": { tools: "--cmake, --ninja, --meson, --make, --task, --bazel" },
"package manager": { tools: "--vcpkg, --conan, --choco, --brew, --nala" },
cache: { tools: "--cppcache, --sccache" },
cache: { tools: "--ccache, --sccache" },
documentation: { tools: "--doxygen, --graphviz" },
coverage: { tools: "--gcovr, --opencppcoverage, --kcov" },
other: { tools: "--python, --powershell, --sevenzip" },
Expand Down

0 comments on commit 933c6ea

Please sign in to comment.