mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-09-19 11:09:05 +01:00
OID: Make CodeGen v2 (TypeGraph) the default
This commit is contained in:
parent
35afd15ee4
commit
c874f72ae2
@ -10,15 +10,16 @@ workflows:
|
|||||||
cc: /usr/bin/gcc
|
cc: /usr/bin/gcc
|
||||||
cxx: /usr/bin/g++
|
cxx: /usr/bin/g++
|
||||||
warnings_as_errors: "OFF"
|
warnings_as_errors: "OFF"
|
||||||
|
- test:
|
||||||
|
name: test-codegenv1-gcc
|
||||||
|
requires:
|
||||||
|
- build-gcc
|
||||||
|
oid_test_args: "-Ftype-graph"
|
||||||
|
tests_regex: "OilIntegration\\..*"
|
||||||
- test:
|
- test:
|
||||||
name: test-gcc
|
name: test-gcc
|
||||||
requires:
|
requires:
|
||||||
- build-gcc
|
- build-gcc
|
||||||
- test:
|
|
||||||
name: test-type-graph-gcc
|
|
||||||
requires:
|
|
||||||
- build-gcc
|
|
||||||
oid_test_args: "-ftype-graph"
|
|
||||||
tests_regex: "OidIntegration\\..*"
|
tests_regex: "OidIntegration\\..*"
|
||||||
exclude_regex: ".*inheritance_polymorphic.*|.*arrays_member_int0"
|
exclude_regex: ".*inheritance_polymorphic.*|.*arrays_member_int0"
|
||||||
- coverage:
|
- coverage:
|
||||||
@ -26,9 +27,9 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
- test-gcc
|
- test-gcc
|
||||||
- coverage:
|
- coverage:
|
||||||
name: coverage-type-graph
|
name: coverage-codegenv1
|
||||||
requires:
|
requires:
|
||||||
- test-type-graph-gcc
|
- test-codegenv1-gcc
|
||||||
|
|
||||||
- build:
|
- build:
|
||||||
name: build-clang
|
name: build-clang
|
||||||
@ -36,16 +37,17 @@ workflows:
|
|||||||
cxx: /usr/bin/clang++-12
|
cxx: /usr/bin/clang++-12
|
||||||
warnings_as_errors: "ON"
|
warnings_as_errors: "ON"
|
||||||
- test:
|
- test:
|
||||||
name: test-clang
|
name: test-codegenv1-clang
|
||||||
requires:
|
requires:
|
||||||
- build-clang
|
- build-clang
|
||||||
|
oid_test_args: "-Ftype-graph"
|
||||||
|
tests_regex: "OilIntegration\\..*"
|
||||||
# Tests disabled due to bad DWARF generated by the old clang compiler in CI
|
# Tests disabled due to bad DWARF generated by the old clang compiler in CI
|
||||||
exclude_regex: "OilIntegration.fbstring_.*|OilIntegration.capture_keys_string|OilIntegration.capture_keys_multi_level"
|
exclude_regex: "OilIntegration.fbstring_.*|OilIntegration.capture_keys_string|OilIntegration.capture_keys_multi_level"
|
||||||
- test:
|
- test:
|
||||||
name: test-type-graph-clang
|
name: test-clang
|
||||||
requires:
|
requires:
|
||||||
- build-clang
|
- build-clang
|
||||||
oid_test_args: "-ftype-graph"
|
|
||||||
tests_regex: "OidIntegration\\..*"
|
tests_regex: "OidIntegration\\..*"
|
||||||
# Tests disabled due to bad DWARF generated by the old clang compiler in CI
|
# Tests disabled due to bad DWARF generated by the old clang compiler in CI
|
||||||
exclude_regex: ".*inheritance_polymorphic.*|.*arrays_member_int0|.*fbstring.*|.*std_string_*|.*multi_arg_tb_.*|.*ignored_a"
|
exclude_regex: ".*inheritance_polymorphic.*|.*arrays_member_int0|.*fbstring.*|.*std_string_*|.*multi_arg_tb_.*|.*ignored_a"
|
||||||
|
@ -516,6 +516,7 @@ int main(int argc, char* argv[]) {
|
|||||||
std::map<Feature, bool> features = {
|
std::map<Feature, bool> features = {
|
||||||
{Feature::PackStructs, true},
|
{Feature::PackStructs, true},
|
||||||
{Feature::GenPaddingStats, true},
|
{Feature::GenPaddingStats, true},
|
||||||
|
{Feature::TypeGraph, true},
|
||||||
{Feature::PruneTypeGraph, true},
|
{Feature::PruneTypeGraph, true},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user