mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-08 13:15:31 +02:00
feat(compat): make compatible with godot v4.2+
Previously the plugin could only be used with v4.2.1. This commit extends support support back to v4.2.0.
This commit is contained in:
parent
1a5f0f96da
commit
c6609ebae5
6 changed files with 18 additions and 19 deletions
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
|
@ -234,13 +234,14 @@ jobs:
|
|||
path: docs/demo
|
||||
|
||||
test:
|
||||
name: Test (${{ matrix.platform }}, ${{ matrix.arch }}, debug)
|
||||
name: Test (${{ matrix.platform }}, ${{ matrix.arch }}, ${{ matrix.godot-version }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [linux, macos, windows]
|
||||
arch: [x86_64, x86_32, universal]
|
||||
godot-version: ["v4.2-stable", "v4.2.1-stable"]
|
||||
exclude:
|
||||
- platform: linux
|
||||
arch: universal
|
||||
|
@ -262,7 +263,7 @@ jobs:
|
|||
- name: Setup Godot
|
||||
uses: lihop/setup-godot@v2
|
||||
with:
|
||||
version: "4.2.1-stable"
|
||||
version: ${{ matrix.godot-version }}
|
||||
- name: Macos setup
|
||||
if: ${{ matrix.platform == 'macos' }}
|
||||
run: |
|
||||
|
@ -299,9 +300,16 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
if [ "${{ matrix.platform }}" = "windows" ]; then
|
||||
just test
|
||||
just test | tee output.log
|
||||
else
|
||||
just test-all
|
||||
just test-all | tee output.log
|
||||
fi
|
||||
|
||||
# This step often passes when it shouldn't, due to GUT not failing on script errors
|
||||
# (see: https://github.com/bitwes/Gut/issues/210). Therefore, we check the output
|
||||
# for expected (and unexpected) strings.
|
||||
if 'SCRIPT_ERROR:' output.log; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
merge-artifacts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue