Skip to content

Commit 9b4321c

Browse files
committed
CI: run hot-reload in compat versions, too
1 parent 7562489 commit 9b4321c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/full-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,20 +361,22 @@ jobs:
361361
artifact-name: linux-4.4
362362
godot-binary: godot.linuxbsd.editor.dev.x86_64
363363
godot-prebuilt-patch: '4.4'
364-
hot-reload: stable
364+
hot-reload: api-4-4
365365

366366
- name: linux-4.3
367367
os: ubuntu-22.04
368368
artifact-name: linux-4.3
369369
godot-binary: godot.linuxbsd.editor.dev.x86_64
370370
godot-prebuilt-patch: '4.3'
371+
hot-reload: api-4-3
371372

372373
# Can be disabled in the future (already covered by memcheck). For now kept on to differentiate quicker.
373374
- name: linux-4.2
374375
os: ubuntu-22.04
375376
artifact-name: linux-4.2
376377
godot-binary: godot.linuxbsd.editor.dev.x86_64
377378
godot-prebuilt-patch: '4.2.2'
379+
hot-reload: api-4-2
378380

379381
# Memory checks: special Godot binaries compiled with AddressSanitizer/LeakSanitizer to detect UB/leaks.
380382
# See also https://rustc-dev-guide.rust-lang.org/sanitizers.html.

itest/hot-reload/godot/run-test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ if [[ $1 == "api-custom" ]]; then
1111
cargoArgs="--features godot/api-custom"
1212
elif [[ $1 == "stable" ]]; then
1313
cargoArgs=""
14+
elif [[ $1 == api-4-* ]]; then
15+
cargoArgs="--features godot/$1"
1416
else
15-
echo "[Bash] Error: Unknown argument '$1'. Expected 'api-custom' or 'stable'."
17+
echo "[Bash] Error: Unknown argument '$1'. Expected 'stable', 'api-custom' or 'api-4.*'."
1618
exit 1
1719
fi
1820

0 commit comments

Comments
 (0)