Merge pull request #115401 from bruvzg/cpp_to_headers

Change godot-cpp to godot-headers for the reference GDExtensions files.
This commit is contained in:
Thaddeus Crews 2026-01-26 15:01:52 -06:00
commit 75d50bd4ea
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
2 changed files with 2 additions and 3 deletions

View file

@ -35,8 +35,7 @@ jobs:
build-mono: true
doc-test: true
proj-conv: true
# FIXME: New versioning of godot-cpp breaks the logic for this test.
#api-compat: true
api-compat: true
artifact: true
# Validate godot-cpp compatibility on one arbitrary editor build.
godot-cpp: true

View file

@ -69,7 +69,7 @@ while read -r dir; do
get_expected_output "$dir"
# Download the reference extension_api.json
wget -nv --retry-on-http-error=503 --tries=5 --timeout=60 -cO "$reference_file" "https://raw.githubusercontent.com/godotengine/godot-cpp/godot-$reference_tag/gdextension/extension_api.json" || has_problems=1
wget -nv --retry-on-http-error=503 --tries=5 --timeout=60 -cO "$reference_file" "https://raw.githubusercontent.com/godotengine/godot-headers/godot-$reference_tag/extension_api.json" || has_problems=1
# Validate the current API against the reference
"$1" --headless --validate-extension-api "$reference_file" 2>&1 | tee "$validate" | awk '!/^Validate extension JSON:/' - || true
# Collect the expected and actual validation errors