summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* .gitlab-ci.yml: run static analyzers on Python filesDaiki Ueno2022-01-151-0/+2
| | | | | | | This runs a couple of code analysis on the Python scripts added to remove AutoGen dependency. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: bump cache key for python3 detectionDaiki Ueno2022-01-151-1/+1
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* src: remove included copy of liboptsDaiki Ueno2022-01-151-8/+1
| | | | | | | As no tools link with libopts anymore, we don't need to include it in the distribution. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: reduce PKCS#12 iteration count while testingDaiki Ueno2022-01-111-16/+18
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: add caching to cppcheckAlexander Sosedkin2021-10-271-2/+6
| | | | Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
* .gitlab-ci.yml: new ASan job with -DAGGRESSIVE_REALLOCDaiki Ueno2021-09-101-0/+35
| | | | | | | This would exercise the same logic currently covered with fedora-valgrind-aggressive in each MR. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: cppcheck: disable style checksDaiki Ueno2021-08-041-1/+1
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: add bootstrap stageDaiki Ueno2021-05-141-25/+93
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: doc-dist.Fedora: invoke "texconfig rehash"Daiki Ueno2021-05-131-0/+1
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: update build images to Fedora 34 and Alpine 3.13Daiki Ueno2021-05-131-4/+4
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: bump cache versionDaiki Ueno2021-05-131-1/+1
| | | | | | This should fix the nettle_streebog512_update detection. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* _gnutls_buffer_resize: add option to use allocation simpler logicDaiki Ueno2021-03-101-0/+27
| | | | | | | | | | This helps detect common mistakes[1] in realloc usage with valgrind, where the caller assumes that the original ptr is always returned. 1. https://bugzilla.mozilla.org/show_bug.cgi?id=1377618 Signed-off-by: Daiki Ueno <ueno@gnu.org> Co-authored-by: Alexander Sosedkin <asosedkin@redhat.com>
* .gitlab-ci.yml: run fedora-valgrind jobs only on upstream branchesDaiki Ueno2021-02-191-0/+4
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* Merge branch 'wip/dueno/valgrind' into 'master'Daiki Ueno2021-02-191-1/+3
|\ | | | | | | | | | | | | tests: enable all tests to run under valgrind Closes #1174 and #708 See merge request gnutls/gnutls!1383
| * .gitlab-ci.yml: use longer handshake timeout for valgrind jobsDaiki Ueno2021-02-191-1/+3
| | | | | | | | | | | | Also limit the parallelism to $(nproc) to be less resource intensive. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* | .gitlab-ci.yml: remove scriptlet to generate HMAC files for FIPSDaiki Ueno2021-02-171-5/+0
|/ | | | | | This is now generated automatically during the build. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: fix typo in cppcheck -I argumentDaiki Ueno2021-02-151-2/+2
| | | | | | | Reported by Tim Rühsen in: https://gitlab.com/gnutls/gnutls/-/issues/705 Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: bump cache versionDaiki Ueno2021-02-131-1/+1
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: remove FreeBSD runDaiki Ueno2021-02-111-34/+1
| | | | | | | This used to run on a dedicated FreeBSD runner, which is no longer maintained. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: remove redundant "make check" in build stageDaiki Ueno2021-02-041-1/+0
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* CI pipeline rework - using stages and inheritanceStanislav Zidek2020-12-011-742/+746
| | | | Signed-off-by: Stanislav Zidek <szidek@redhat.com>
* .gitlab-ci.yml: temporarily allow failures on Debian.cross.aarch64tmp-nettle-3.6Daiki Ueno2020-11-091-0/+1
| | | | | | | | | | | | | | qemu is currently causing segmentation fault: cipher: aes-128-gcm cipher: aes-192-gcm cipher: aes-256-gcm cipher: chacha20-poly1305 qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (core dumped) default cipher tests failed FAIL test-ciphers-openssl.sh (exit status: 139) Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: use nettle git master for FreeBSD.x86_64Daiki Ueno2020-11-091-5/+15
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: use Fedora 33 with LEGACY policy for SSL 3.0 testingDaiki Ueno2020-11-041-1/+2
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: supply -fstack-protector required by latest MinGWDaiki Ueno2020-11-041-1/+19
| | | | | | https://sourceforge.net/p/mingw-w64/bugs/818/ Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: avoid using fipshmacDaiki Ueno2020-11-041-1/+4
| | | | | | | The new fipshmac command provided by libkcapi requires NETLINK_CRYPTO, which is not enabled on gitlab CI. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: update build-images for nettle 3.6Daiki Ueno2020-11-041-8/+5
| | | | | | Also remove Debian.cross.mips-linux-gnu, as it is no longer supported. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* bootstrap.conf: exercise more tests from GnulibDaiki Ueno2020-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | This fixes the build failure with -Werror: configure:53786: gcc -o conftest -O0 -Wall -Werror -g3 conftest.c -lev >&5 conftest.c:412: error: "GNULIB_STRERROR" redefined [-Werror] 412 | #define GNULIB_STRERROR 1 | conftest.c:305: note: this is the location of the previous definition 305 | #define GNULIB_STRERROR IN_GNUTLS_GNULIB_TESTS | cc1: all warnings being treated as errors as well as improves code coverage. Suggested by Bruno Haible in: <https://lists.gnu.org/archive/html/bug-gnulib/2020-10/msg00148.html>. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: bump build environment to Fedora 32Daiki Ueno2020-09-181-1/+1
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* .gitlab-ci.yml: bump cache versionDaiki Ueno2020-09-171-1/+1
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* Merge branch 'tmp-nettle-master' into 'master'Dmitry Baryshkov2020-07-041-2/+2
|\ | | | | | | | | .gitlab-ci: disable config.cache for nettle-master builds See merge request gnutls/gnutls!1291
| * .gitlab-ci: disable config.cache for nettle-master buildsDmitry Baryshkov2020-06-141-2/+2
| | | | | | | | | | | | | | | | Disable usage of config.cache for nettle-master builds. Such config.cache files can easily become stale, thus resulting in build failures. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* | .gitlab-ci.yml: bump configure cache versiontmp-enumDaiki Ueno2020-06-151-1/+1
|/ | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* CI: fix typo in the Vista targetSteve Lhomme2020-06-071-2/+45
| | | | | | | This resulted in the MinGW64.Vista+ target doing the same thing as the MinGW64 target. Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
* configure.ac: determine if the Vista APIs can be linked staticallySteve Lhomme2020-05-271-0/+36
| | | | | | | | | | | | | If _WIN32_WINNT is higher or equal to 0x0600, Vista API's are allowed during the build. We can assume that the minimum platform the code will run on is Vista [1] In that case there's no need to call API's (ncrypt) dynamically when it can be done statically. [1] https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
* CI: add nettle-mini-gmp testDmitry Baryshkov2020-04-301-0/+32
| | | | | | | Wget/Wget2 OSS-Fuzz builders use mini-gmp version of nettle. Check that we do not break them occasionally. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* gitlab CI: when calling cppcheck ignore lib/nettle/ecc rather than ↵Dmitry Baryshkov2020-04-151-2/+2
| | | | | | lib/nettle/curve448 Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* gitlab-ci: add test for usage of nettle/hogweed internal symbolsDmitry Baryshkov2020-04-141-0/+1
| | | | | | Check that GnuTLS does not depend on Nettle/Hogweed internal symbols. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* Use make with crafted -j for CI builds and testsTim Rühsen2020-01-261-60/+73
| | | | | | | This speeds up the Gitlab CI runners. E.g. measured timings of the Debian.x86_64 runner show ~40% speedup (down from 38 to 23 minutes). Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* .gitlab-ci.yml: remove --disable-gost from nettle-master testDmitry Baryshkov2020-01-241-1/+1
| | | | | | | Remove --disable-gost switch from the test using Nettle's master branch as GnuTLS is now compatible again with nettle/master. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* .gitlab-ci.yml: force running jobs on linux runnersNikos Mavrogiannopoulos2020-01-241-0/+17
| | | | | | | There are shared windows runners in gitlab, that will fail running our jobs. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* .gitlab-ci.yml: set WINEPATH to allow eccdata run under WineDaiki Ueno2020-01-231-0/+4
| | | | Signed-off-by: Daiki Ueno <dueno@redhat.com>
* .gitlab-ci.yml: export LDFLAGS throughout the FreeBSD buildDaiki Ueno2020-01-231-2/+3
| | | | | | Otherwise the build process wouldn't be able to find -lgmp. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* .gitlab-ci.yml: add target to build against nettle masterDaiki Ueno2020-01-231-0/+31
| | | | | | | | This is similar to the build/gnutls target in nettle's own gitlab CI. The only difference is that this will build/test all branches of GnuTLS against the master branch of nettle. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* nettle: vendor in Curve448 and Ed448 implementationDaiki Ueno2020-01-231-1/+1
| | | | Signed-off-by: Daiki Ueno <dueno@redhat.com>
* CI: FIPS140-2 run make check without enforcing FIPS modeDmitry Eremin-Solenikov2020-01-101-0/+1
| | | | | | | | Some distributions might enable --enable-fips140-mode, without actually enabling/enforcing FIPS at runtime. Catch issues in such configurations (reported by Daiki Ueno). Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* .gitlab-ci.yml: identify on runtime to db2epub directoryNikos Mavrogiannopoulos2020-01-031-2/+3
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Remove && command concatenation in .gitlab-ci.ymlTim Rühsen2020-01-031-52/+65
| | | | | | | | As it turns out, `set -e` doesn't work if one of the commands fail, maybe except the last command. Seen, tested and reproduced on Fedora28 image. Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* .gitlab-ci.yml: merged ASAN and UBSAN runstmp-check-fuzzNikos Mavrogiannopoulos2020-01-031-35/+8
| | | | | | | This in addition to merging the two CI runs, it also attempts to run the fuzz code under SHANI for CI. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* UBSAN: Fail tests if UB detectedTim Rühsen2020-01-031-13/+12
| | | | | | | Suppressions are in devel/ubsan.supp. Suppressions only work on recoverable checks. Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>