diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-04-28 13:28:50 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-04-28 13:28:52 +0200 |
commit | 38a92db04190555550f34eac9e8064d82c39eaf3 (patch) | |
tree | a1d94c3362b51b6a89d4381fca65a9d78ff0c91b /.gitlab-ci.yml | |
parent | 33cf747b93a226a1800baa1e4096ef463f6c4729 (diff) | |
download | gnutls-38a92db04190555550f34eac9e8064d82c39eaf3.tar.gz |
.gitlab-ci.yml: do not load submodules on CI since they are not used
This reduces the CI running time.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b1d3bf47bd..1631c87370 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ Compile minimal library: script: - - git submodule update --init && make autoreconf && ./configure --with-included-libtasn1 + - make autoreconf && ./configure --with-included-libtasn1 --disable-doc --disable-dtls-srtp-support --disable-alpn-support --disable-rsa-export --disable-heartbeat-support --disable-srp-authentication --disable-psk-authentication --disable-anon-authentication --disable-dhe --disable-ecdhe --disable-openpgp-authentication @@ -14,7 +14,7 @@ Compile minimal library: - tags Build and Check with asan: script: - - git submodule update --init && make autoreconf && CFLAGS="-fsanitize=address -g + - make autoreconf && CFLAGS="-fsanitize=address -g -O2" LDFLAGS="-static-libasan" ./configure --disable-doc --with-included-libtasn1 --disable-valgrind-tests --disable-non-suiteb-curves --disable-guile && make -j4 && make check -j4 tags: @@ -24,7 +24,7 @@ Build and Check with asan: - tags Build and Check with C99 and ubsan: script: - - git submodule update --init && make autoreconf && CFLAGS="-fsanitize=undefined -fno-sanitize-recover -g -std=c99 + - make autoreconf && CFLAGS="-fsanitize=undefined -fno-sanitize-recover -g -std=c99 -O2" LDFLAGS="-static-libubsan" ./configure --disable-doc --disable-valgrind-tests --disable-non-suiteb-curves --disable-guile && make -j4 && make check -j4 tags: @@ -35,7 +35,7 @@ Build and Check with C99 and ubsan: - tags Build and Check - separate build dir (x86): script: - - git submodule update --init && make autoreconf && mkdir -p build && cd build && + - make autoreconf && mkdir -p build && cd build && ../configure --disable-non-suiteb-curves --with-included-libtasn1 --enable-seccomp-tests --disable-doc --disable-valgrind-tests && make -j4 && make check -j4 tags: @@ -46,7 +46,7 @@ Build and Check - separate build dir (x86): - tags Build with ABI-check (x86-64): script: - - git submodule update --init && make autoreconf && mkdir -p build && cd build && + - make autoreconf && mkdir -p build && cd build && ../configure --disable-doc --disable-cxx --disable-guile --disable-non-suiteb-curves && make -j4 && make abi-check tags: - x86-64 @@ -57,7 +57,7 @@ Build with ABI-check (x86-64): - tags Build and Check - clang: script: - - git submodule update --init && make autoreconf && + - make autoreconf && CC=clang ./configure --disable-non-suiteb-curves --with-included-libtasn1 --enable-seccomp-tests --disable-doc --disable-valgrind-tests && make -j4 && make check -C tests -j4 tags: @@ -67,7 +67,7 @@ Build and Check - clang: - tags Build and Check in FIPS140-2 mode: script: - - git submodule update --init && make autoreconf && mkdir -p build && cd build && + - make autoreconf && mkdir -p build && cd build && ../configure --disable-non-suiteb-curves --enable-fips140-mode --with-included-libtasn1 --disable-doc --disable-valgrind-tests && make -j4 && make check -j4 tags: @@ -77,7 +77,7 @@ Build and Check in FIPS140-2 mode: - tags Build and Check for windows in separate build dir: script: - - git submodule update --init && make autoreconf && rm -f tests/suite/mini-eagain2.c && mkdir -p build && cd build && + - make autoreconf && rm -f tests/suite/mini-eagain2.c && mkdir -p build && cd build && mingw32-configure --enable-local-libopts --without-p11-kit --disable-non-suiteb-curves --disable-doc --disable-valgrind-tests && mingw32-make -j4 && mingw32-make -C tests check -j4 tags: @@ -89,7 +89,7 @@ Build and Check for windows in separate build dir: - tags Build and Check with valgrind: script: - - git submodule update --init && make autoreconf && rm -f tests/suite/mini-eagain2.c && ./configure + - make autoreconf && rm -f tests/suite/mini-eagain2.c && ./configure --disable-non-suiteb-curves --with-included-libtasn1 --disable-doc && make -j4 && make check -j4 tags: - nettle3 @@ -98,7 +98,7 @@ Build and Check with valgrind: - tags Build and Check on FreeBSD: script: - - git submodule update --init && gmake autoreconf && rm -f tests/suite/mini-eagain2.c && LIBS="-L/usr/local/lib" ./configure + - gmake autoreconf && rm -f tests/suite/mini-eagain2.c && LIBS="-L/usr/local/lib" ./configure --disable-doc --disable-valgrind-tests && gmake -j4 && gmake check -j4 tags: - freebsd |