Skip to content

Commit 683a509

Browse files
committed
Update to new scons config
See godotengine/godot#66242
1 parent 0e9419d commit 683a509

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/compile-godot.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ jobs:
8383
if: steps.cache-godot.outputs.cache-hit != 'true' && matrix.id == 'linux'
8484
run: |
8585
echo "Number of cores: $(nproc)"
86-
scons -j$(nproc) platform=${{ matrix.scons-platform }} tools=yes target=debug bits=64
87-
#scons -j$(nproc) platform=${{ matrix.scons-platform }} tools=no target=release_debug bits=64
86+
scons -j$(nproc) platform=${{ matrix.scons-platform }} target=editor dev_build=yes
8887
8988
- name: "Set up MSVC developer console"
9089
uses: ilammy/msvc-dev-cmd@v1
@@ -94,7 +93,7 @@ jobs:
9493
if: steps.cache-godot.outputs.cache-hit != 'true' && matrix.id == 'windows'
9594
run: |
9695
cl
97-
scons -j2 platform=${{ matrix.scons-platform }} tools=yes target=debug mingw=no
96+
scons -j2 platform=${{ matrix.scons-platform }} target=editor dev_build=yes mingw=no
9897
shell: cmd
9998

10099
- name: "Make executable"
@@ -113,6 +112,6 @@ jobs:
113112
# The other answers, while more "idiomatic" (if that can even be said for something like bash), are not properly handling newlines
114113
run: |
115114
ls bin -la
116-
godotVer=$(bin/godot.${{ matrix.scons-platform }}.tools.x86_64 --version | xargs)
115+
godotVer=$(bin/godot.${{ matrix.scons-platform }}.editor.dev.x86_64 --version | xargs)
117116
echo "## Godot version: \`$godotVer\`" >> $GITHUB_STEP_SUMMARY
118117
echo "Built for **${{ matrix.artifact }}** from commit [\`$SHA\`](https://github.com/godotengine/godot/commit/$SHA)." >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)