bfde32dbe9
cpp-template / format (ubuntu-22.04) (push) Successful in 1m2s
cpp-template / format (ubuntu-24.04) (push) Successful in 1m3s
cpp-template / build-test (asan, ubuntu-22.04) (push) Successful in 1m53s
cpp-template / build-test (asan, ubuntu-24.04) (push) Successful in 1m48s
cpp-template / build-test (debug, ubuntu-22.04) (push) Successful in 2m6s
cpp-template / build-test (debug, ubuntu-24.04) (push) Successful in 1m40s
cpp-template / build-test (fuzz, ubuntu-22.04) (push) Successful in 7m31s
cpp-template / build-test (fuzz, ubuntu-24.04) (push) Successful in 7m52s
cpp-template / build-test (release, ubuntu-22.04) (push) Successful in 2m17s
cpp-template / build-test (release, ubuntu-24.04) (push) Successful in 2m1s
cpp-template / clang-tidy (ubuntu-22.04) (push) Successful in 1m50s
cpp-template / clang-tidy (ubuntu-24.04) (push) Successful in 1m51s
cpp-template / install-consumer (ubuntu-22.04) (push) Successful in 1m41s
cpp-template / install-consumer (ubuntu-24.04) (push) Successful in 1m43s
cpp-template / no-network-negative (ubuntu-22.04) (push) Successful in 6m54s
cpp-template / no-network-negative (ubuntu-24.04) (push) Successful in 7m5s
cpp-template / format (ubuntu-20.04) (push) Has been cancelled
cpp-template / build-test (asan, ubuntu-20.04) (push) Has been cancelled
cpp-template / build-test (debug, ubuntu-20.04) (push) Has been cancelled
cpp-template / build-test (fuzz, ubuntu-20.04) (push) Has been cancelled
cpp-template / build-test (release, ubuntu-20.04) (push) Has been cancelled
cpp-template / clang-tidy (ubuntu-20.04) (push) Has been cancelled
cpp-template / install-consumer (ubuntu-20.04) (push) Has been cancelled
cpp-template / no-network-negative (ubuntu-20.04) (push) Has been cancelled
- Set FUZZTEST_FUZZING_MODE=ON in fuzztest.cmake for coverage-guided fuzzing - Strip ASan flags from FuzzTest's FuzzTestFlagSetup.cmake to prevent conflicts with build-time code generators (grammar_domain_code_generator) - Add ABSL_CONTAINER_DISABLE_SMALL_OBJECT_OPTIMIZATION=1 env var to CTest preset and CI pipeline to prevent Abseil raw_hash_set SOO corruption caused by coverage instrumentation during static initialization - Update fuzz preset to RelWithDebInfo for optimized fuzzing performance - Update comments documenting root cause (Abseil lts_20260107.1 + -fsanitize-coverage=inline-8bit-counters incompatibility)
120 lines
3.2 KiB
JSON
120 lines
3.2 KiB
JSON
{
|
|
"version": 2,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 20,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "_base",
|
|
"hidden": true,
|
|
"generator": "Unix Makefiles",
|
|
"cacheVariables": {
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "debug",
|
|
"displayName": "Debug",
|
|
"description": "Default developer lane. C++14 Debug with tests and benchmarks enabled; fuzz requested but auto-skipped unless supported.",
|
|
"inherits": "_base",
|
|
"binaryDir": "${sourceDir}/build/debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_CXX_STANDARD": "14",
|
|
"CC_ENABLE_TESTING": "ON",
|
|
"CC_ENABLE_BENCHMARKS": "ON",
|
|
"CC_ENABLE_FUZZTEST": "ON",
|
|
"CC_ENABLE_ASAN": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "release",
|
|
"displayName": "Release",
|
|
"description": "Optimized build lane. C++14 Release with tests and benchmarks enabled; fuzz requested but auto-skipped unless supported.",
|
|
"inherits": "_base",
|
|
"binaryDir": "${sourceDir}/build/release",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_CXX_STANDARD": "14",
|
|
"CC_ENABLE_TESTING": "ON",
|
|
"CC_ENABLE_BENCHMARKS": "ON",
|
|
"CC_ENABLE_FUZZTEST": "ON",
|
|
"CC_ENABLE_ASAN": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "asan",
|
|
"displayName": "AddressSanitizer",
|
|
"description": "ASan validation lane. C++14 Debug with AddressSanitizer, tests enabled, benchmarks disabled, fuzz auto-skipped.",
|
|
"inherits": "_base",
|
|
"binaryDir": "${sourceDir}/build/asan",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_CXX_STANDARD": "14",
|
|
"CC_ENABLE_TESTING": "ON",
|
|
"CC_ENABLE_BENCHMARKS": "OFF",
|
|
"CC_ENABLE_FUZZTEST": "ON",
|
|
"CC_ENABLE_ASAN": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "fuzz",
|
|
"displayName": "Fuzz",
|
|
"description": "FuzzTest development lane with coverage-guided fuzzing and ASan. C++17 Debug, requires Clang. Smoke tests run deterministically; continuous fuzzing via direct executable invocation.",
|
|
"inherits": "_base",
|
|
"binaryDir": "${sourceDir}/build/fuzz",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
"CMAKE_C_COMPILER": "clang",
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
|
"CMAKE_CXX_STANDARD": "17",
|
|
"CC_ENABLE_TESTING": "OFF",
|
|
"CC_ENABLE_BENCHMARKS": "OFF",
|
|
"CC_ENABLE_FUZZTEST": "ON",
|
|
"CC_ENABLE_ASAN": "OFF"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "debug",
|
|
"configurePreset": "debug"
|
|
},
|
|
{
|
|
"name": "release",
|
|
"configurePreset": "release"
|
|
},
|
|
{
|
|
"name": "asan",
|
|
"configurePreset": "asan"
|
|
},
|
|
{
|
|
"name": "fuzz",
|
|
"configurePreset": "fuzz"
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "debug",
|
|
"configurePreset": "debug"
|
|
},
|
|
{
|
|
"name": "release",
|
|
"configurePreset": "release"
|
|
},
|
|
{
|
|
"name": "asan",
|
|
"configurePreset": "asan"
|
|
},
|
|
{
|
|
"name": "fuzz",
|
|
"configurePreset": "fuzz",
|
|
"environment": {
|
|
"ABSL_CONTAINER_DISABLE_SMALL_OBJECT_OPTIMIZATION": "1"
|
|
}
|
|
}
|
|
]
|
|
}
|