Skip to content

Commit 933c6ea

Browse files
committed
fix: add missing brew input to actions.yml + fix ccache input + improve description
1 parent f898162 commit 933c6ea

9 files changed

+53
-47
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Setting up a **cross-platform** environment for building and testing C++/C proje
1919
| compiler and analyzer | llvm, gcc, msvc, vcvarsall, cppcheck, clangtidy, clangformat |
2020
| build system | cmake, ninja, meson, make, task, bazel |
2121
| package manager | vcpkg, conan, choco, brew, nala |
22-
| cache | cppcache, sccache |
22+
| cache | ccache, sccache |
2323
| documentation | doxygen, graphviz |
2424
| coverage | gcovr, opencppcoverage, kcov |
2525
| other | python, powershell, sevenzip |

action.yml

+45-39
Original file line numberDiff line numberDiff line change
@@ -3,93 +3,99 @@ description: "Install all the tools required for building and testing C++/C proj
33
author: "Amin Yahyaabadi"
44

55
inputs:
6+
timeout:
7+
description: "The timeout for installation of one tool (in minutes)."
8+
default: "20"
9+
required: false
610
cache-tools:
711
description: "If should cache the installed tools? (Default: false)"
812
required: false
9-
compiler:
10-
description: "The compiler to use and its optional version separated by - e.g. llvm-13.0.0"
11-
required: false
1213
architecture:
1314
description: "The CPU architecture"
1415
required: false
16+
compiler:
17+
description: "The compiler to use and its optional version separated by - e.g. llvm-13.0.0"
18+
required: false
1519
llvm:
16-
description: "The llvm version to install"
20+
description: "Wether to install llvm (true/false) or the specific version to install"
1721
required: false
1822
gcc:
19-
description: "The gcc version to install"
23+
description: "Wether to install gcc (true/false) or the specific version to install"
2024
required: false
2125
msvc:
22-
description: "The msvc version to install"
26+
description: "Wether to install msvc (true/false) or the specific version to install"
2327
required: false
2428
vcvarsall:
2529
description: "If should run vcvarsall?"
2630
required: false
31+
cppcheck:
32+
description: "Wether to install cppcheck (true/false) or the specific version to install."
33+
required: false
34+
clangtidy:
35+
description: "The clangWether to install tidy (true/false) or the specific version to install."
36+
required: false
37+
clangformat:
38+
description: "The clangWether to install format (true/false) or the specific version to install."
39+
required: false
2740
cmake:
28-
description: "The cmake version to install."
41+
description: "Wether to install cmake (true/false) or the specific version to install."
2942
required: false
3043
ninja:
31-
description: "The ninja version to install."
44+
description: "Wether to install ninja (true/false) or the specific version to install."
3245
required: false
3346
conan:
34-
description: "The conan version to install."
47+
description: "Wether to install conan (true/false) or the specific version to install."
3548
required: false
3649
make:
37-
description: "The make version to install."
50+
description: "Wether to install make (true/false) or the specific version to install."
3851
required: false
3952
task:
40-
description: "The task version to install."
53+
description: "Wether to install task (true/false) or the specific version to install."
4154
required: false
4255
vcpkg:
43-
description: "The vcpkg version to install."
56+
description: "Wether to install vcpkg (true/false) or the specific version to install."
4457
required: false
4558
meson:
46-
description: "The meson version to install."
59+
description: "Wether to install meson (true/false) or the specific version to install."
4760
required: false
48-
gcovr:
49-
description: "The gcovr version to install."
61+
choco:
62+
description: "Wether to install chocolatey (true/false) or the specific version to install."
5063
required: false
51-
python:
52-
description: "The python version to install."
64+
brew:
65+
description: "Wether to install brew (true/false) or the specific version to install."
66+
required: false
67+
nala:
68+
description: 'Wether to install nala (true/false) or the specific version to install ("" or "legacy").'
5369
required: false
5470
ccache:
55-
description: "The ccache version to install."
71+
description: "Wether to install ccache (true/false) or the specific version to install."
5672
required: false
5773
sccache:
58-
description: "The sccache version to install."
74+
description: "Wether to install sccache (true/false) or the specific version to install."
5975
required: false
6076
doxygen:
61-
description: "The doxygen version to install."
77+
description: "Wether to install doxygen (true/false) or the specific version to install."
6278
required: false
6379
graphviz:
64-
description: "The graphviz version to install."
65-
required: false
66-
cppcheck:
67-
description: "The cppcheck version to install."
68-
required: false
69-
clangtidy:
70-
description: "The clang-tidy version to install."
80+
description: "Wether to install graphviz (true/false) or the specific version to install."
7181
required: false
72-
clangformat:
73-
description: "The clang-format version to install."
82+
gcovr:
83+
description: "Wether to install gcovr (true/false) or the specific version to install."
7484
required: false
7585
opencppcoverage:
76-
description: "The opencppcoverage version to install."
86+
description: "Wether to install opencppcoverage (true/false) or the specific version to install."
7787
required: false
7888
kcov:
79-
description: "The kcov version to install."
89+
description: "Wether to install kcov (true/false) or the specific version to install."
8090
required: false
8191
sevenzip:
82-
description: "The 7z version to install."
83-
required: false
84-
nala:
85-
description: 'The nala version to install ("" or "legacy").'
92+
description: "Wether to install 7z (true/false) or the specific version to install."
8693
required: false
8794
powershell:
88-
description: "The powershell version to install."
95+
description: "Wether to install powershell (true/false) or the specific version to install."
8996
required: false
90-
timeout:
91-
description: "The timeout for installation of one tool (in minutes)."
92-
default: "20"
97+
python:
98+
description: "Wether to install python (true/false) or the specific version to install."
9399
required: false
94100

95101
runs:

dist/actions/setup-cpp.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/actions/setup-cpp.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cli-options.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ All the available tools:
3434
"compiler and analyzer": { tools: "--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat" },
3535
"build system": { tools: "--cmake, --ninja, --meson, --make, --task, --bazel" },
3636
"package manager": { tools: "--vcpkg, --conan, --choco, --brew, --nala" },
37-
cache: { tools: "--cppcache, --sccache" },
37+
cache: { tools: "--ccache, --sccache" },
3838
documentation: { tools: "--doxygen, --graphviz" },
3939
coverage: { tools: "--gcovr, --opencppcoverage, --kcov" },
4040
other: { tools: "--python, --powershell, --sevenzip" },

0 commit comments

Comments
 (0)