1
1
import { Inputs , Opts } from "./main"
2
2
3
+ // passing "" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.
4
+ // the directly downloaded tools require a given version ("" doesn't work).
5
+
3
6
const DefaultVersions : Record < string , string > = {
4
7
llvm : "13.0.0" , // https://github.com/llvm/llvm-project/releases
5
8
clangtidy : "13.0.0" ,
@@ -9,11 +12,12 @@ const DefaultVersions: Record<string, string> = {
9
12
gcovr : "5.1" , // https://pypi.org/project/gcovr/
10
13
conan : "1.48.0" , // https://github.com/conan-io/conan/releases
11
14
meson : "0.62.1" , // https://github.com/mesonbuild/meson/releases
12
- python : "3.8.10" ,
15
+ python : "3.8.10" , // semver
13
16
kcov : "40" , // https://github.com/SimonKagstrom/kcov/releases
14
17
task : "3.12.1" , // https://github.com/go-task/task/releases
15
18
doxygen : process . platform === "darwin" ? "1.9.3" : "1.9.4" , // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen
16
19
gcc : "11" , // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc
20
+ cppcheck : process . platform === "win32" ? "2.7" : "" ,
17
21
}
18
22
19
23
/// If an ubuntu versions is not in this map:
@@ -24,16 +28,19 @@ const DefaultUbuntuVersion: Record<string, Record<number, string>> = {
24
28
20 : "13.0.0-ubuntu-20.04" ,
25
29
18 : "13.0.1-ubuntu-18.04" ,
26
30
16 : "13.0.0-ubuntu-16.04" ,
31
+ 14 : "13.0.0-ubuntu-16.04" ,
27
32
} ,
28
33
clangtidy : {
29
34
20 : "13.0.0-ubuntu-20.04" ,
30
35
18 : "13.0.1-ubuntu-18.04" ,
31
36
16 : "13.0.0-ubuntu-16.04" ,
37
+ 14 : "13.0.0-ubuntu-16.04" ,
32
38
} ,
33
39
clangformat : {
34
40
20 : "13.0.0-ubuntu-20.04" ,
35
41
18 : "13.0.1-ubuntu-18.04" ,
36
42
16 : "13.0.0-ubuntu-16.04" ,
43
+ 14 : "13.0.0-ubuntu-16.04" ,
37
44
} ,
38
45
gcovr : {
39
46
20 : "5.1" ,
0 commit comments