@@ -110,8 +110,8 @@ jobs:
110
110
$GODOT_BIN --headless --dump-gdextension-interface
111
111
popd && popd
112
112
113
- echo "EXTRA_MESON_SETUP_ARGS=' -D gdextension_path=$GDEXTENSION_DIR' " >> $GITHUB_OUTPUT
114
- echo "EXTRA_RUN_TESTS_ARGS=' --godot-binary=$GODOT_BIN' " >> $GITHUB_OUTPUT
113
+ echo "EXTRA_MESON_SETUP_ARGS=-D gdextension_path=$GDEXTENSION_DIR" >> $GITHUB_OUTPUT
114
+ echo "EXTRA_RUN_TESTS_ARGS=--godot-binary=$GODOT_BIN" >> $GITHUB_OUTPUT
115
115
116
116
- name : ' Setup project'
117
117
run : python .github/scripts/meson_setup_or_dump_log.py build/ ${{ steps.setup-godot.outputs.EXTRA_MESON_SETUP_ARGS }}
@@ -121,7 +121,7 @@ jobs:
121
121
- name : ' Run tests'
122
122
run : |
123
123
set -eux
124
- ARGS=--build-dir=build/ ${{ steps.setup-godot.outputs.EXTRA_RUN_TESTS_ARGS }} -- --headless
124
+ ARGS=" --build-dir=build/ ${{ steps.setup-godot.outputs.EXTRA_RUN_TESTS_ARGS }} -- --headless"
125
125
python tests/run.py 0-gdscript $ARGS
126
126
python tests/run.py 1-gdextension $ARGS
127
127
python tests/run.py 2-pythonscript-init $ARGS
@@ -190,21 +190,23 @@ jobs:
190
190
run : |
191
191
set -eux
192
192
193
- GODOT_BIN=`pwd`/godot-artifacts/godot.windows.editor.x86_64.mono
194
- GDEXTENSION_DIR=`pwd`/gdextension_api
193
+ # Absolute path should be used here, but Windows's path shenanigans
194
+ # prevent me from doing this :'(
195
+ GODOT_BIN=./godot-artifacts/godot.windows.editor.x86_64.exe
196
+ GDEXTENSION_DIR=./gdextension_api
195
197
ls godot-artifacts
196
198
197
199
chmod +x $GODOT_BIN
198
200
$GODOT_BIN --headless --version
199
201
200
202
mkdir $GDEXTENSION_DIR && pushd $GDEXTENSION_DIR
201
- $GODOT_BIN --headless --dump-extension-api
203
+ ../ $GODOT_BIN --headless --dump-extension-api
202
204
mkdir godot && pushd godot
203
- $GODOT_BIN --headless --dump-gdextension-interface
205
+ ../../ $GODOT_BIN --headless --dump-gdextension-interface
204
206
popd && popd
205
207
206
- echo "EXTRA_MESON_SETUP_ARGS=' -D gdextension_path=$GDEXTENSION_DIR' " >> $GITHUB_OUTPUT
207
- echo "EXTRA_RUN_TESTS_ARGS=' --godot-binary=$GODOT_BIN' " >> $GITHUB_OUTPUT
208
+ echo "EXTRA_MESON_SETUP_ARGS=-D gdextension_path=$GDEXTENSION_DIR" >> $GITHUB_OUTPUT
209
+ echo "EXTRA_RUN_TESTS_ARGS=--godot-binary=$GODOT_BIN" >> $GITHUB_OUTPUT
208
210
209
211
- name : ' Setup project'
210
212
run : python .github/scripts/meson_setup_or_dump_log.py build/ ${{ steps.setup-godot.outputs.EXTRA_MESON_SETUP_ARGS }}
@@ -216,7 +218,7 @@ jobs:
216
218
shell : bash
217
219
run : |
218
220
set -eux
219
- ARGS=--build-dir=build/ ${{ steps.setup-godot.outputs.EXTRA_RUN_TESTS_ARGS }} -- --headless
221
+ ARGS=" --build-dir=build/ ${{ steps.setup-godot.outputs.EXTRA_RUN_TESTS_ARGS }} -- --headless"
220
222
python tests/run.py 0-gdscript $ARGS
221
223
python tests/run.py 1-gdextension $ARGS
222
224
python tests/run.py 2-pythonscript-init $ARGS
0 commit comments