-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathci.json
More file actions
79 lines (79 loc) · 2.02 KB
/
ci.json
File metadata and controls
79 lines (79 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"root": "./",
"defaults": {
"coverage": {
"engine": "radCodeCoverage",
"enginePath": "radCodeCoverage.x64.exe",
"formats!": ["md","covdb"],
"timeoutSeconds": 60
},
"callgraph": {
"engine": "radCallGraph",
"enginePath": "radCallGraph.exe",
"formats!": ["json", "dot", "txt"],
"outputDir": "assets/callgraph",
"timeoutSeconds": 60
}
},
"pipeline": [
{
"action": "clean",
"level": "Deep",
"outputLevel": "Quiet",
"includeFilePattern": ["*.res"],
"jobs": [{"name": "Repo clean", "root": "./test" }]
},
{
"action": "IncVer",
"jobs": [{
"name": "Build version",
"file": "source/Delphi.Forms.Info.pas",
"target": "Text",
"style": "WinVer",
"part": "build",
"pattern": "(\\d+\\.\\d+\\.\\d+\\.\\d+)"
}]
},
{
"action": "build",
"engine": "MSBuild",
"toolchain": {"version": "Latest"},
"platform": "Win64",
"verbosity": "minimal",
"jobs": [
{ "name": "Win64 Test project (Debug)",
"projectFile": "test/Delphi.Forms.Tests.dproj",
"configuration": "Debug",
"defines": ["CI"] }
]
},
{
"action": "run",
"timeoutSeconds": 10,
"jobs": [
{ "name": "Forms Win64 Tests",
"execute": "test/Win64/Debug/Delphi.Forms.Tests.exe",
"arguments": ["-b", "-l:Warning", "-cm:Quiet"] }
]
},
{
"action": "Coverage",
"jobs": [
{ "name": "Win64 Coverage",
"execute": "test/Win64/Debug/Delphi.Forms.Tests.exe",
"mapFile": "test/Win64/Debug/Delphi.Forms.Tests.map",
"sourceDir": ["/source", "/test"],
"outputDir": "assets/coverage",
"arguments": ["-b", "-cm:off"],
"badge": "assets/coverage/coverage-badge.svg" }
]
},
{
"action": "CallGraph",
"jobs": [
{ "name": "Lexer Call Graph",
"path": ["/source", "/test"] }
]
}
]
}