33
33
# To fix this we would have to cherry-pick 41890ff9c3028d3b05d993f8f7ec42c346824304 to the 4.0 branch.
34
34
# There might be other issues cropping up, since there doesn't seem to be an official CI checking this.
35
35
warnings : all
36
+ werror : yes
36
37
37
38
- name : 4.1 Editor
38
39
precision : single
@@ -41,22 +42,25 @@ jobs:
41
42
executable_name : godot.linuxbsd.editor.x86_64
42
43
godot_base_branch : " 4.1"
43
44
warnings : extra
45
+ werror : yes
44
46
45
47
- name : 4.2 Editor
46
48
precision : single
47
49
target : editor
48
50
production : no
49
51
executable_name : godot.linuxbsd.editor.x86_64
50
52
godot_base_branch : " 4.2"
51
- # TODO Had to downgrade to A LOT less warnings, even though it worked with `extra` in the past.
53
+ warnings : extra
54
+ # TODO Had to turn off warning as errors, even though it worked in the past.
55
+ # Downgrading warnings to `all` or `moderate` did not fix it.
52
56
# Something in Godot 4.2, or in the version of GCC in the buildroot, has changed causing this to happen:
53
57
# drivers/gles3/storage/texture_storage.cpp:1513:31: error: 'void* memset(void*, int, size_t)'
54
58
# specified bound between 18446744065119617024 and 18446744073709551612 exceeds maximum object size
55
59
# [-Werror=stringop-overflow=]
56
60
# memset(v_offsets, 0, sizeof(int) * base_size);
57
61
# ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58
62
# Looking at the code, I could not find what's wrong.
59
- warnings : moderate
63
+ werror : no
60
64
61
65
- name : master Editor
62
66
precision : single
65
69
executable_name : godot.linuxbsd.editor.x86_64
66
70
godot_base_branch : " master"
67
71
warnings : extra
72
+ werror : yes
68
73
69
74
# --- Builds with artifacts ---
70
75
75
80
executable_name : godot.linuxbsd.editor.x86_64
76
81
godot_base_branch : " 4.3-stable"
77
82
warnings : extra
83
+ werror : yes
78
84
79
85
- name : 4.3 Template
80
86
precision : single
83
89
executable_name : godot.linuxbsd.template_release.x86_64
84
90
godot_base_branch : " 4.3-stable"
85
91
warnings : extra
92
+ werror : yes
86
93
87
94
- name : 4.3 Editor Float64
88
95
precision : double
91
98
executable_name : godot.linuxbsd.editor.double.x86_64
92
99
godot_base_branch : " 4.3-stable"
93
100
warnings : extra
101
+ werror : yes
94
102
95
103
steps :
96
104
# Clone Godot
@@ -171,7 +179,7 @@ jobs:
171
179
SCONS_CACHE : ${{github.workspace}}/.scons_cache/
172
180
run : |
173
181
PATH=${GITHUB_WORKSPACE}/x86_64-godot-linux-gnu_sdk-buildroot/bin:$PATH
174
- scons verbose=yes warnings=${{matrix.warnings}} werror=yes platform=linuxbsd tests=no dev_build=no target=${{matrix.target}} production=${{matrix.production}} precision=${{matrix.precision}}
182
+ scons verbose=yes warnings=${{matrix.warnings}} werror=${{matrix.werror}} platform=linuxbsd tests=no dev_build=no target=${{matrix.target}} production=${{matrix.production}} precision=${{matrix.precision}}
175
183
176
184
# Make build available
177
185
- uses : actions/upload-artifact@v4
0 commit comments