-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathCMakePresets.json
More file actions
117 lines (107 loc) · 3.21 KB
/
Copy pathCMakePresets.json
File metadata and controls
117 lines (107 loc) · 3.21 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"version": 6,
"cmakeMinimumRequired": { "major": 3, "minor": 28, "patch": 0 },
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"AGENTTY_COMPILER_CACHE": "ON"
}
},
{
"name": "dev",
"displayName": "Dev (Debug, no LTO, ccache) — the fast edit-build-test loop",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"AGENTTY_BUILD_TESTS": "ON"
}
},
{
"name": "release",
"displayName": "Release (-O3 + thin LTO) — the optimized local binary",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"AGENTTY_BUILD_TESTS": "ON"
}
},
{
"name": "pch",
"displayName": "Release + shared PCH (opt-in; measured net-negative on 8-core Apple clang — for CI/low-core experiments)",
"inherits": "release",
"cacheVariables": { "AGENTTY_PCH": "ON" }
},
{
"name": "ci",
"displayName": "CI gate — mirrors the Linux job (Release, no mimalloc, tests on)",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"AGENTTY_AUTO_PULL_MAYA": "OFF",
"AGENTTY_USE_MIMALLOC": "OFF",
"AGENTTY_BUILD_TESTS": "ON"
}
},
{
"name": "sanitizer",
"displayName": "ASan+UBSan gate — instruments agentty's own-logic set (mirrors CI)",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"AGENTTY_AUTO_PULL_MAYA": "OFF",
"AGENTTY_USE_MIMALLOC": "OFF",
"AGENTTY_BUILD_TESTS": "ON",
"AGENTTY_SANITIZE_ALL": "address,undefined"
}
},
{
"name": "standalone",
"displayName": "Standalone release — no third-party shared-lib deps (portable binary)",
"inherits": "release",
"cacheVariables": { "AGENTTY_STANDALONE": "ON" }
}
],
"buildPresets": [
{ "name": "dev", "configurePreset": "dev" },
{ "name": "release", "configurePreset": "release" },
{ "name": "pch", "configurePreset": "pch" },
{ "name": "standalone", "configurePreset": "standalone" },
{
"name": "ci",
"displayName": "CI build — agentty + the gating test set (skips perf probes/benches)",
"configurePreset": "ci",
"targets": ["all", "tests_gating"]
},
{
"name": "sanitizer",
"configurePreset": "sanitizer",
"targets": ["sanitizer_tests"]
}
],
"testPresets": [
{
"name": "dev",
"configurePreset": "dev",
"output": { "outputOnFailure": true },
"execution": { "noTestsAction": "error", "jobs": 4 }
},
{
"name": "ci",
"displayName": "CI test run — skips perf-labelled cases (matches tests_gating)",
"configurePreset": "ci",
"output": { "outputOnFailure": true },
"filter": { "exclude": { "label": "perf" } },
"execution": { "noTestsAction": "error" }
},
{
"name": "sanitizer",
"configurePreset": "sanitizer",
"output": { "outputOnFailure": true },
"filter": { "include": { "label": "sanitizer" } }
}
]
}