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:
259259 image : alpine
260260 - jobname : Linux32
261261 image : daald/ubuntu32:xenial
262+ - jobname : pedantic
263+ image : fedora
262264 env :
263265 jobname : ${{matrix.vector.jobname}}
264266 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -15,4 +15,8 @@ linux-musl)
1515 apk add --update build-base curl-dev openssl-dev expat-dev gettext \
1616 pcre2-dev python3 musl-libintl perl-utils ncurses > /dev/null
1717 ;;
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+ ;;
1822esac
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")";;
1010* ) ln -s " $cache_dir /.prove" t/.prove;;
1111esac
1212
13+ if test " $jobname " = " pedantic"
14+ then
15+ export DEVOPTS=pedantic
16+ fi
17+
1318make
1419case " $jobname " in
1520linux-gcc)
@@ -35,10 +40,9 @@ linux-clang)
3540 export GIT_TEST_DEFAULT_HASH=sha256
3641 make test
3742 ;;
38- linux-gcc-4.8)
43+ linux-gcc-4.8|pedantic )
3944 # 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
4246 ;;
4347* )
4448 make test
You can’t perform that action at this time.
0 commit comments