Allow validating the extension api against a reference version and a list of known changes.

This commit is contained in:
RedworkDE
2023-05-16 18:38:46 +02:00
parent 605e25656f
commit 0cf491bcb5
3 changed files with 263 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ jobs:
build-mono: true
proj-conv: true
artifact: true
compat: true
- name: Editor with doubles and GCC sanitizers (target=editor, tests=yes, dev_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=gold)
cache-name: linux-editor-double-sanitizers
@@ -202,6 +203,11 @@ jobs:
scons target=template_debug dev_build=yes
cd ../..
- name: Check for GDExtension compatibility
if: ${{ matrix.compat }}
run: |
./misc/scripts/validate_extension_api.sh "${{ matrix.bin }}" || true # don't fail the CI for now
- name: Prepare artifact
if: ${{ matrix.artifact }}
run: |