summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml13
1 files changed, 4 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2bbf501c13..355dc076ca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,7 +29,7 @@ variables:
CHECKJOBS: 16
cache:
- key: "$CI_JOB_NAME-ver22"
+ key: "$CI_JOB_NAME-ver24"
paths:
- cache/
@@ -195,8 +195,6 @@ doc-dist.Fedora:
- make -j$BUILDJOBS -C doc/latex gnutls.pdf
- DB2EPUBDIR=$(dirname $(find /usr/share/sgml/docbook/xsl-ns-stylesheets-*/epub/bin/ -name dbtoepub -print))
- PATH="$PATH:$DB2EPUBDIR" make -C doc gnutls.epub
- # check whether distribution with or without included libopts is ok
- - make -j$CHECKJOBS distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-local-libopts --disable-tests"
- make -j$CHECKJOBS distcheck
@@ -538,6 +536,8 @@ fedora-static-analyzers/test:
paths:
- cache/cppcheck
script:
+ - MYPYPATH=$PWD/python mypy python/*.py doc/scripts/*.py src/*.py
+ - flake8 python/*.py doc/scripts/*.py src/*.py
- mkdir -p cache/cppcheck
- cppcheck --cppcheck-build-dir=cache/cppcheck --force -q -Ilib/includes -Igl/ -Ilib/ -I. --error-exitcode=1 lib/ -i lib/unistring -i lib/minitasn1 -i lib/nettle/backport -i lib/nettle/ecc -j2 $CPPCHECK_OPTIONS
- cppcheck --cppcheck-build-dir=cache/cppcheck --force -q -Ilib/includes -Igl/ -Ilibdane/ -I. --error-exitcode=1 libdane/ -j2 $CPPCHECK_OPTIONS
@@ -584,8 +584,6 @@ fedora-static-analyzers/test:
# - export CFLAGS="-std=c99 -O2 -g"
# - DB2EPUBDIR=$(dirname $(find /usr/share/sgml/docbook/xsl-ns-stylesheets-*/epub/bin/ -name dbtoepub -print))
# - PATH="$PATH:$DB2EPUBDIR" make -C doc gnutls.epub
-# # check whether distribution with or without included libopts is ok
-# - make -j$CHECKJOBS distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-local-libopts --disable-tests"
# - make -j$CHECKJOBS distcheck
fedora-abicoverage/build:
@@ -770,10 +768,7 @@ debian-cross/aarch64-linux-gnu/test:
script:
# - mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
# - echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
- - dash ./configure --disable-gcc-warnings --host=${arch_name}-w64-mingw32 --target=${arch_name}-w64-mingw32 --cache-file $CCACHE_FILE --with-included-libtasn1 --disable-guile --disable-nls --with-included-unistring --enable-local-libopts --disable-non-suiteb-curves --disable-full-test-suite --disable-doc --with-pkcs12-iter-count=10000
- # since we use --enable-local-libopts the generated files must equal the .bak
- - mingw${arch_bits}-make -j$BUILDJOBS -C src certtool-args.c.bak
- - cmp src/certtool-args.c src/certtool-args.c.bak || false # TODO not really sure about what is this for
+ - dash ./configure --disable-gcc-warnings --host=${arch_name}-w64-mingw32 --target=${arch_name}-w64-mingw32 --cache-file $CCACHE_FILE --with-included-libtasn1 --disable-guile --disable-nls --with-included-unistring --disable-non-suiteb-curves --disable-full-test-suite --disable-doc --with-pkcs12-iter-count=10000
- mingw${arch_bits}-make -j$BUILDJOBS
- mingw${arch_bits}-make -j$BUILDJOBS -C tests check TESTS=""