File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,8 @@ jobs:
259
259
image : alpine
260
260
- jobname : Linux32
261
261
image : daald/ubuntu32:xenial
262
+ - jobname : pedantic
263
+ image : fedora
262
264
env :
263
265
jobname : ${{matrix.vector.jobname}}
264
266
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -15,4 +15,8 @@ linux-musl)
15
15
apk add --update build-base curl-dev openssl-dev expat-dev gettext \
16
16
pcre2-dev python3 musl-libintl perl-utils ncurses > /dev/null
17
17
;;
18
+ pedantic)
19
+ dnf -yq update > /dev/null &&
20
+ dnf -yq install make gcc findutils diffutils perl python3 gettext zlib-devel expat-devel openssl-devel curl-devel pcre2-devel > /dev/null
21
+ ;;
18
22
esac
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ windows*) cmd //c mklink //j t\\.prove "$(cygpath -aw "$cache_dir/.prove")";;
10
10
* ) ln -s " $cache_dir /.prove" t/.prove;;
11
11
esac
12
12
13
+ if test " $jobname " = " pedantic"
14
+ then
15
+ export DEVOPTS=pedantic
16
+ fi
17
+
13
18
make
14
19
case " $jobname " in
15
20
linux-gcc)
@@ -35,10 +40,9 @@ linux-clang)
35
40
export GIT_TEST_DEFAULT_HASH=sha256
36
41
make test
37
42
;;
38
- linux-gcc-4.8)
43
+ linux-gcc-4.8|pedantic )
39
44
# Don't run the tests; we only care about whether Git can be
40
- # built with GCC 4.8, as it errors out on some undesired (C99)
41
- # constructs that newer compilers seem to quietly accept.
45
+ # built with GCC 4.8 or with pedantic
42
46
;;
43
47
* )
44
48
make test
You can’t perform that action at this time.
0 commit comments