ClickHouse/tests/ci/ci_config.py

727 lines
25 KiB
Python
Raw Normal View History

2021-11-12 11:12:42 +00:00
#!/usr/bin/env python3
CI_CONFIG = {
"build_config": [
{
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"alien_pkgs": True,
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "performance",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "gcc-11",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "address",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "undefined",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "thread",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "memory",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "debug",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
}
],
"special_build_config": [
{
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "debug",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "enable",
"with_coverage": False
},
{
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "splitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13-darwin",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13-aarch64",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13-freebsd",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13-darwin-aarch64",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
{
"compiler": "clang-13-ppc64le",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
}
],
"tests_config": {
"Stateful tests (address, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "address",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateful tests (thread, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "thread",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateful tests (memory, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "memory",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateful tests (ubsan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "undefined",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateful tests (debug, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "debug",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateful tests (release, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateful tests (release, DatabaseOrdinary, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateful tests (release, DatabaseReplicated, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateless tests (address, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "address",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateless tests (thread, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "thread",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateless tests (memory, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "memory",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateless tests (ubsan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "undefined",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateless tests (debug, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "debug",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateless tests (release, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateless tests (release, wide parts enabled, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateless tests (release, DatabaseOrdinary, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateless tests (release, DatabaseReplicated, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stress test (address, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "address",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stress test (thread, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "thread",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stress test (undefined, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "undefined",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stress test (memory, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "memory",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stress test (debug, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "debug",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Integration tests (asan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "address",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Integration tests (thread, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "thread",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Integration tests (release, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Integration tests (memory, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "memory",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Integration tests flaky check (asan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "address",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Compatibility check (actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Split build smoke test (actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "binary",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "splitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Testflows check (actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Unit tests (release-gcc, actions)": {
"required_build_properties": {
"compiler": "gcc-11",
2021-11-15 07:07:03 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Unit tests (release-clang, actions)": {
"required_build_properties": {
"compiler": "clang-13",
2021-11-15 13:20:48 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Unit tests (asan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
2021-11-15 07:07:03 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"build_type": "relwithdebuginfo",
"sanitizer": "address",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Unit tests (msan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
2021-11-15 07:07:03 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"build_type": "relwithdebuginfo",
"sanitizer": "memory",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Unit tests (tsan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
2021-11-15 07:07:03 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"build_type": "relwithdebuginfo",
"sanitizer": "thread",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Unit tests (ubsan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
2021-11-15 07:07:03 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"build_type": "relwithdebuginfo",
2021-11-22 08:06:42 +00:00
"sanitizer": "undefined",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"AST fuzzer (debug, actions)": {
"required_build_properties": {
"compiler": "clang-13",
2021-11-15 07:07:03 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"build_type": "debug",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"AST fuzzer (ASan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
2021-11-15 07:07:03 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"build_type": "relwithdebuginfo",
"sanitizer": "address",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"AST fuzzer (MSan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
2021-11-15 07:07:03 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"build_type": "relwithdebuginfo",
"sanitizer": "memory",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"AST fuzzer (TSan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
2021-11-15 07:07:03 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"build_type": "relwithdebuginfo",
"sanitizer": "thread",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"AST fuzzer (UBSan, actions)": {
"required_build_properties": {
"compiler": "clang-13",
2021-11-15 07:07:03 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"build_type": "relwithdebuginfo",
"sanitizer": "undefined",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Release (actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"Stateless tests flaky check (address, actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "deb",
"build_type": "relwithdebuginfo",
"sanitizer": "address",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
},
"ClickHouse Keeper Jepsen (actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "binary",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
2021-11-12 12:13:13 +00:00
"clang_tidy": "disable",
2021-11-12 11:12:42 +00:00
"with_coverage": False
}
2021-11-17 09:41:19 +00:00
},
"Performance Comparison (actions)": {
"required_build_properties": {
"compiler": "clang-13",
"package_type": "performance",
"build_type": "relwithdebuginfo",
"sanitizer": "none",
"bundled": "bundled",
"splitted": "unsplitted",
"clang-tidy": "disable",
"with_coverage": False
}
},
2021-11-12 11:12:42 +00:00
}
}
def build_config_to_string(build_config):
2021-11-12 12:13:13 +00:00
if build_config["package_type"] == "performance":
2021-11-12 11:12:42 +00:00
return "performance"
return "_".join([
build_config['compiler'],
2021-11-12 12:13:13 +00:00
build_config['build_type'] if build_config['build_type'] else "relwithdebuginfo",
2021-11-12 11:12:42 +00:00
build_config['sanitizer'] if build_config['sanitizer'] else "none",
build_config['bundled'],
build_config['splitted'],
2021-11-12 13:43:13 +00:00
'tidy' if 'tidy' in build_config and build_config['tidy'] == 'enable' else 'notidy',
'with_coverage' if 'with_coverage' in build_config and build_config['with_coverage'] else 'without_coverage',
2021-11-12 12:13:13 +00:00
build_config['package_type'],
2021-11-12 11:12:42 +00:00
])