|
77 | 77 |
|
78 | 78 | # We should always be explicit with our flags usage here since it's gonna be sure to always set those flags
|
79 | 79 | - name: Compile Godot (module_mono_enabled=yes mono_glue=no)
|
80 |
| - env: |
81 |
| - SCONS_CACHE: ${{github.workspace}}/.scons_cache/ |
82 | 80 | run: |
|
83 |
| - scons verbose=yes warnings=all werror=yes platform=linuxbsd tests=no target=editor dev_build=no debug_symbols=no module_mono_enabled=yes mono_glue=no copy_mono_root=yes |
| 81 | + scons verbose=yes warnings=all werror=yes platform=linuxbsd tests=no target=editor dev_build=no debug_symbols=no module_mono_enabled=yes mono_glue=no copy_mono_root=yes "cache_path=${{github.workspace}}/.scons_cache/" |
84 | 82 |
|
85 | 83 | - name: Generate Mono Glue
|
86 | 84 | run: |
|
@@ -170,10 +168,8 @@ jobs:
|
170 | 168 |
|
171 | 169 | # We should always be explicit with our flags usage here since it's gonna be sure to always set those flags
|
172 | 170 | - name: Compilation
|
173 |
| - env: |
174 |
| - SCONS_CACHE: ${{github.workspace}}/.scons_cache/ |
175 | 171 | run: |
|
176 |
| - scons verbose=yes warnings=all werror=yes platform=linuxbsd tests=no target=editor dev_build=no debug_symbols=no module_mono_enabled=yes mono_glue=yes mono_static=yes copy_mono_root=yes |
| 172 | + scons verbose=yes warnings=all werror=yes platform=linuxbsd tests=no target=editor dev_build=no debug_symbols=no module_mono_enabled=yes mono_glue=yes mono_static=yes copy_mono_root=yes "cache_path=${{github.workspace}}/.scons_cache/" |
177 | 173 |
|
178 | 174 | # Make build available
|
179 | 175 | - uses: actions/upload-artifact@v4
|
@@ -216,7 +212,7 @@ jobs:
|
216 | 212 | id: windows-editor-mono-cache
|
217 | 213 | uses: actions/cache@v4
|
218 | 214 | with:
|
219 |
| - path: /.scons_cache/ |
| 215 | + path: ${{github.workspace}}/.scons_cache/ |
220 | 216 | key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
|
221 | 217 | restore-keys: |
|
222 | 218 | ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
|
@@ -255,9 +251,8 @@ jobs:
|
255 | 251 | - name: Compilation
|
256 | 252 | env:
|
257 | 253 | SCONS_CACHE_MSVC_CONFIG: true
|
258 |
| - SCONS_CACHE: /.scons_cache/ |
259 | 254 | run: |
|
260 |
| - scons verbose=yes warnings=all werror=yes platform=windows tests=no target=editor dev_build=no debug_symbols=no module_mono_enabled=yes mono_glue=yes copy_mono_root=yes mono_static=yes |
| 255 | + scons verbose=yes warnings=all werror=yes platform=windows tests=no target=editor dev_build=no debug_symbols=no module_mono_enabled=yes mono_glue=yes copy_mono_root=yes mono_static=yes "cache_path=${{github.workspace}}/.scons_cache/" |
261 | 256 |
|
262 | 257 | # TODO Enhancement: Run tests? Such tests are able to run from Godot 4.0 only
|
263 | 258 | # Execute unit tests for the editor
|
|
0 commit comments