Skip to content

Commit 12e9515

Browse files
committed
Limit number of CI configs
1 parent 84d8e69 commit 12e9515

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/other/check-example.sh

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ fi
2323
PRE="# EXAMPLE $example |"
2424
dir="examples/$example/godot"
2525
logfile="stderr-$example.log"
26+
# stdout also outputs some "ERROR:" messages, these are currently ignored.
2627

2728
# In .gdextension file, use paths to release artifacts.
2829
sed -i'.bak' "s!/debug/!/release/!g" "$dir/rust.gdextension"

.github/workflows/ci.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,6 @@ jobs:
165165
artifact-name: windows-nightly
166166
godot-binary: godot.windows.editor.dev.x86_64.exe
167167

168-
# On Windows (only), test double precision.
169-
- name: windows-double
170-
os: windows-latest
171-
artifact-name: windows-double-nightly
172-
godot-binary: godot.windows.editor.dev.double.x86_64.exe
173-
rust-extra-args: --features godot/api-custom,godot/double-precision
174-
175168
# Linux
176169

177170
- name: linux
@@ -188,15 +181,21 @@ jobs:
188181
os: ubuntu-22.04
189182
artifact-name: linux-4.2
190183
godot-binary: godot.linuxbsd.editor.dev.x86_64
184+
rust-extra-args: --features godot/api-4.2
191185

192186
- name: linux-4.1
193187
os: ubuntu-22.04
194188
artifact-name: linux-4.1
195189
godot-binary: godot.linuxbsd.editor.dev.x86_64
190+
rust-extra-args: --features godot/api-4.1
196191

197192
# Do not run memchecks; increases CI complexity too much with the patching and everything.
198193
# Such cases need to be tested in the itest suite in the main repo.
199194

195+
# Also don't test double precision. Makes a lot of code more difficult to write (real conversions etc), missing
196+
# the point of examples being approachable. Users who need it are trusted to adjust code based on compile errors.
197+
198+
200199
steps:
201200
- uses: actions/checkout@v4
202201

0 commit comments

Comments
 (0)