File tree Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105
105
# gcc build check no regressions
106
106
# #############################################################################
107
107
gcc-build-regression-check :
108
- name : GCC build regression check (no tests)
108
+ name : GCC build check -Wextra
109
109
110
110
runs-on : ubuntu-latest
111
111
@@ -141,6 +141,46 @@ jobs:
141
141
142
142
143
143
144
+ # #############################################################################
145
+ # gcc build check no missing declarations
146
+ # #############################################################################
147
+ gcc-missing-declarations-check :
148
+ name : GCC check for missing declarations
149
+
150
+ runs-on : ubuntu-latest
151
+
152
+ env :
153
+ CC : " gcc"
154
+ CFLAGS : " -march=native -std=c11 -Wall -Wextra -Wmissing-prototypes -Werror"
155
+ MODULES : " build/thread_pool_merged.lo build/thread_support_merged.lo build/ulong_extras_merged.lo build/long_extras_merged.lo build/perm_merged.lo build/double_extras_merged.lo build/d_vec_merged.lo build/d_mat_merged.lo build/mpn_extras_merged.lo build/mpfr_vec_merged.lo build/mpfr_mat_merged.lo build/nmod_merged.lo build/nmod_vec_merged.lo build/nmod_mat_merged.lo build/nmod_poly_merged.lo build/mpn_mod_merged.lo build/fmpz_merged.lo build/fmpz_vec_merged.lo"
156
+ # Everything until fmpz_mat
157
+
158
+ steps :
159
+ - uses : actions/checkout@v4
160
+
161
+ - name : " Setup"
162
+ run : |
163
+ sudo apt-get install -y libgmp-dev libmpfr-dev autoconf libtool-bin
164
+ gcc --version
165
+ make --version
166
+ autoconf --version
167
+ libtool --version
168
+ echo "MAKE=make -j$(expr $(nproc) + 1) --output-sync=target" >> $GITHUB_ENV
169
+
170
+ - name : " Configure"
171
+ run : |
172
+ ./bootstrap.sh
173
+ ./configure \
174
+ CC=${CC} \
175
+ CFLAGS="${CFLAGS}" \
176
+ --disable-debug
177
+
178
+ - name : " Check regression in a subset of modules"
179
+ run : |
180
+ $MAKE $MODULES
181
+
182
+
183
+
144
184
# #############################################################################
145
185
# ubuntu gcc with assert
146
186
# #############################################################################
You can’t perform that action at this time.
0 commit comments