44
55# Global Settings
66env :
7+ SCONS_FLAGS : >-
8+ dev_mode=yes
9+ module_text_server_fb_enabled=yes
10+ "accesskit_sdk_path=${{ github.workspace }}/accesskit-c-0.15.1/"
711 GODOT_CPP_BRANCH : 4.4
8- SCONSFLAGS : verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes strict_checks=yes "accesskit_sdk_path=${{ github.workspace }}/accesskit-c-0.15.1/"
912 DOTNET_NOLOGO : true
1013 DOTNET_CLI_TELEMETRY_OPTOUT : true
1114 TSAN_OPTIONS : suppressions=${{ github.workspace }}/misc/error_suppressions/tsan.txt
@@ -24,75 +27,82 @@ jobs:
2427 - name : Editor w/ Mono (target=editor)
2528 cache-name : linux-editor-mono
2629 target : editor
27- sconsflags : module_mono_enabled=yes
30+ scons-flags : module_mono_enabled=yes
2831 bin : ./bin/godot.linuxbsd.editor.x86_64.mono
2932 build-mono : true
30- tests : false # Disabled due freeze caused by mix Mono build and CI
3133 doc-test : true
3234 proj-conv : true
3335 api-compat : true
3436 artifact : true
3537 # Validate godot-cpp compatibility on one arbitrary editor build.
3638 godot-cpp : true
3739
38- - name : Editor with doubles and GCC sanitizers (target=editor, tests=yes, dev_build=yes, scu_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=mold)
40+ - name : Editor with doubles and GCC sanitizers (target=editor, dev_build=yes, scu_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=mold)
3941 cache-name : linux-editor-double-sanitizers
4042 target : editor
4143 # Debug symbols disabled as they're huge on this build and we hit the 14 GB limit for runners.
42- sconsflags : dev_build=yes scu_build=yes debug_symbols=no precision=double use_asan=yes use_ubsan=yes linker=mold
44+ scons-flags : >-
45+ dev_build=yes
46+ scu_build=yes
47+ debug_symbols=no
48+ precision=double
49+ use_asan=yes
50+ use_ubsan=yes
51+ linker=mold
4352 bin : ./bin/godot.linuxbsd.editor.dev.double.x86_64.san
44- build-mono : false
45- tests : true
4653 proj-test : true
47- # Skip 2GiB artifact speeding up action.
48- artifact : false
4954
50- - name : Editor with clang sanitizers (target=editor, tests=yes, dev_build=yes, use_asan=yes, use_ubsan=yes, use_llvm=yes, linker=lld)
55+ - name : Editor with clang sanitizers (target=editor, dev_build=yes, use_asan=yes, use_ubsan=yes, use_llvm=yes, linker=lld)
5156 cache-name : linux-editor-llvm-sanitizers
5257 target : editor
53- sconsflags : dev_build=yes use_asan=yes use_ubsan=yes use_llvm=yes linker=lld
58+ scons-flags : >-
59+ dev_build=yes
60+ use_asan=yes
61+ use_ubsan=yes
62+ use_llvm=yes
63+ linker=lld
5464 bin : ./bin/godot.linuxbsd.editor.dev.x86_64.llvm.san
55- build-mono : false
56- tests : true
57- # Skip 2GiB artifact speeding up action.
58- artifact : false
5965 # Test our oldest supported SCons/Python versions on one arbitrary editor build.
6066 legacy-scons : true
6167
62- - name : Editor with ThreadSanitizer (target=editor, tests=yes, dev_build=yes, use_tsan=yes, use_llvm=yes, linker=lld)
68+ - name : Editor with ThreadSanitizer (target=editor, dev_build=yes, use_tsan=yes, use_llvm=yes, linker=lld)
6369 cache-name : linux-editor-thread-sanitizer
6470 target : editor
65- tests : true
66- sconsflags : dev_build=yes use_tsan=yes use_llvm=yes linker=lld
71+ scons-flags : >-
72+ dev_build=yes
73+ use_tsan=yes
74+ use_llvm=yes
75+ linker=lld
6776 bin : ./bin/godot.linuxbsd.editor.dev.x86_64.llvm.san
68- build-mono : false
69- # Skip 2GiB artifact speeding up action.
70- artifact : false
7177
72- - name : Template w/ Mono, release (target=template_release, tests=yes )
78+ - name : Template w/ Mono, release (target=template_release)
7379 cache-name : linux-template-mono
7480 target : template_release
75- sconsflags : module_mono_enabled=yes
81+ scons-flags : module_mono_enabled=yes
7682 bin : ./bin/godot.linuxbsd.template_release.x86_64.mono
77- build-mono : false
78- tests : true
7983 artifact : true
8084
81- - name : Template w/ Mono, debug (target=template_debug, tests=yes )
85+ - name : Template w/ Mono, debug (target=template_debug)
8286 cache-name : linux-template-mono-debug
8387 target : template_debug
84- sconsflags : module_mono_enabled=yes
88+ scons-flags : module_mono_enabled=yes
8589 bin : ./bin/godot.linuxbsd.template_debug.x86_64.mono
86- build-mono : false
87- tests : true
8890 artifact : true
8991
90- - name : Minimal template (target=template_release, tests=yes, everything disabled)
92+ - name : Minimal template (target=template_release, everything disabled)
9193 cache-name : linux-template-minimal
9294 target : template_release
93- sconsflags : modules_enabled_by_default=no disable_3d=yes disable_advanced_gui=yes disable_physics_2d=yes disable_physics_3d=yes deprecated=no minizip=no
95+ scons-flags : >-
96+ modules_enabled_by_default=no
97+ module_text_server_fb_enabled=no
98+ disable_3d=yes
99+ disable_advanced_gui=yes
100+ disable_physics_2d=yes
101+ disable_physics_3d=yes
102+ deprecated=no
103+ minizip=no
104+ brotli=no
94105 bin : ./bin/godot.linuxbsd.template_release.x86_64
95- tests : true
96106 artifact : true
97107
98108 steps :
@@ -166,10 +176,9 @@ jobs:
166176 - name : Compilation
167177 uses : ./.github/actions/godot-build
168178 with :
169- sconsflags : ${{ env.SCONSFLAGS }} ${{ matrix.sconsflags }}
179+ scons-flags : ${{ env.SCONS_FLAGS }} ${{ matrix.scons-flags }}
170180 platform : linuxbsd
171181 target : ${{ matrix.target }}
172- tests : ${{ matrix.tests }}
173182
174183 - name : Compilation (godot-cpp)
175184 uses : ./.github/actions/godot-cpp-build
@@ -209,7 +218,6 @@ jobs:
209218 name : ${{ matrix.cache-name }}
210219
211220 - name : Unit tests
212- if : matrix.tests
213221 run : |
214222 ${{ matrix.bin }} --version
215223 ${{ matrix.bin }} --help
0 commit comments