mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 05:33:11 +00:00
CI: Add 4.2-stable.expected file for GDExtension compatibility checks
This commit is contained in:
parent
2f73a059ce
commit
cff4af018f
@ -2987,6 +2987,8 @@ bool Main::start() {
|
||||
return false;
|
||||
}
|
||||
|
||||
// GDExtension API and interface.
|
||||
{
|
||||
if (dump_gdextension_interface) {
|
||||
GDExtensionInterfaceDump::generate_gdextension_interface_file("gdextension_interface.h");
|
||||
}
|
||||
@ -3002,10 +3004,12 @@ bool Main::start() {
|
||||
}
|
||||
|
||||
if (validate_extension_api) {
|
||||
Engine::get_singleton()->set_editor_hint(true); // "extension_api.json" should always contains editor singletons.
|
||||
bool valid = GDExtensionAPIDump::validate_extension_json_file(validate_extension_api_file) == OK;
|
||||
OS::get_singleton()->set_exit_code(valid ? EXIT_SUCCESS : EXIT_FAILURE);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
if (converting_project) {
|
||||
|
9
misc/extension_api_validation/4.2-stable.expected
Normal file
9
misc/extension_api_validation/4.2-stable.expected
Normal file
@ -0,0 +1,9 @@
|
||||
This file contains the expected output of --validate-extension-api when run against the extension_api.json of the
|
||||
4.2-stable tag (the basename of this file).
|
||||
|
||||
Only lines that start with "Validate extension JSON:" matter, everything else is considered a comment and ignored. They
|
||||
should instead be used to justify these changes and describe how users should work around these changes.
|
||||
|
||||
Add new entries at the end of the file.
|
||||
|
||||
## Changes between 4.2-stable and 4.3-stable
|
Loading…
Reference in New Issue
Block a user