summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2018-11-11 18:22:54 +0100
committerTim Rühsen <tim.ruehsen@gmx.de>2018-11-11 18:43:46 +0100
commitd3383d619ba21ca7fa33c5b194db8c84e2488997 (patch)
tree2e3cc50f6e03c140350195373c931a2765e12a58 /.gitlab-ci.yml
parent62dced2f43acb3c3d5fa2f2fa8a2ae5db6c06165 (diff)
downloadwget-d3383d619ba21ca7fa33c5b194db8c84e2488997.tar.gz
* .gitlab-ci.yml: Split into GnuTLS and OpenSSL build
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml35
1 files changed, 27 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8b986bd7..0b31ba4f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@
# name to allow expiration of old caches.
cache:
- key: "$CI_JOB_NAME-ver4"
+ key: "$CI_JOB_NAME-ver5"
paths:
- cache/
@@ -34,7 +34,7 @@ variables:
GET_SOURCES_ATTEMPTS: "3"
GIT_DEPTH: "5"
CONFIGURE_BASE_FLAGS: --enable-assert --cache-file cache/config.cache
- CFLAGS_DEFAULT: -O0 -g -ggdb3
+ CFLAGS_DEFAULT: -O0 -g -ggdb3 -Wall -Wextra
VPATH/Debian:
@@ -42,7 +42,7 @@ VPATH/Debian:
script:
- cp -a /builds/common/gnulib .
- export CFLAGS=$CFLAGS_DEFAULT
- - ./bootstrap --skip-po && touch .manywarnings
+ - ./bootstrap --skip-po
- mkdir vpath && cd vpath
- ../configure $CONFIGURE_BASE_FLAGS --cache-file ../cache/config.cache
- make -j$(nproc)
@@ -65,22 +65,41 @@ VPATH/Debian:
# * build/valgrind-check
# * build/asan-check
# * build w/Werror and ubsan-check
-Debian GNU/Linux build:
+OpenSSL/Debian:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
script:
- echo "127.0.0.1 wgettestingserver" >>/etc/hosts
- cat /etc/hosts
- - touch .manywarnings
- alias make="make -j$(nproc)"
- ./bootstrap --skip-po
- - ./configure -C --with-ssl=gnutls
+ - ./configure $CONFIGURE_BASE_FLAGS --with-ssl=gnutls
- make syntax-check
- make check
- make distcheck
- make check-valgrind
- - ./configure -C --with-ssl=openssl
- - make clean
+ tags:
+ - shared
+ artifacts:
+ expire_in: 2 weeks
+ when: on_failure
+ paths:
+ - ./*.log
+ - fuzz/*.log
+ - tests/*.log
+ - testenv/*.log
+
+GnuTLS/Debian:
+ image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
+ script:
+ - echo "127.0.0.1 wgettestingserver" >>/etc/hosts
+ - cat /etc/hosts
+ - alias make="make -j$(nproc)"
+ - ./bootstrap --skip-po
+ - ./configure $CONFIGURE_BASE_FLAGS --with-ssl=openssl
+ - make syntax-check
- make check
+ - make distcheck
+ - make check-valgrind
tags:
- shared
artifacts: