diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-09-16 09:44:56 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-09-16 09:47:35 +0200 |
commit | 79230e4dc2a7006aa621bc3c6087a1e1d3d70d4e (patch) | |
tree | f8ba284e38712fc051e5c1fda96dbe5208eeea7d | |
parent | 0b553e79e940193036086e9d3b7a2bb71cd34517 (diff) | |
download | gnutls-79230e4dc2a7006aa621bc3c6087a1e1d3d70d4e.tar.gz |
.gitlab-ci.yml: use the shared runners
-rw-r--r-- | .gitlab-ci.yml | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e10f911609..769ac2e23b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,16 @@ -Build and Check - separate build dir: +image: centos:7 + +before_script: + - yum install -y git coreutils which autoconf libtool gettext-devel automake autogen nettle-devel p11-kit-devel autogen-libopts-devel trousers-devel guile-devel libtasn1-devel libidn-devel gawk gperf git2cl libtasn1-tools unbound-devel bison help2man xz net-tools + - yum install -y libasan libasan-static nodejs softhsm datefudge lcov openssl-devel openssl libcmocka-devel xz valgrind + +Centos7/build: script: - git submodule update --init && make autoreconf && mkdir -p build && cd build && ../configure --disable-non-suiteb-curves --with-included-libtasn1 --enable-seccomp-tests --disable-guile --disable-valgrind-tests --disable-doc && make && make check - cat tests/test-suite.log tags: - - nettle2 + - shared except: - tags artifacts: @@ -13,14 +19,14 @@ Build and Check - separate build dir: paths: - build/tests/*.log - build/tests/*/*.log -Build and Check with valgrind: + +Centos7/valgrind: script: - git submodule update --init && make autoreconf && rm -f tests/suite/mini-eagain2.c && ./configure --disable-non-suiteb-curves --with-included-libtasn1 --disable-doc --disable-guile && make && make check - cat tests/test-suite.log tags: - - x86-64 - - nettle2 + - shared except: - tags artifacts: @@ -29,15 +35,15 @@ Build and Check with valgrind: paths: - tests/*.log - tests/*/*.log -Build and Check with asan: + +Centos7/asan: script: - git submodule update --init && make autoreconf && rm -f tests/suite/mini-eagain2.c &&CFLAGS="-fsanitize=address -g -O2" LDFLAGS="-static-libasan" ./configure --disable-doc --with-included-libtasn1 --disable-valgrind-tests --disable-non-suiteb-curves --disable-guile && make && make check - cat tests/test-suite.log tags: - - x86-64 - - nettle2 + - shared except: - tags artifacts: |