summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-07 16:54:24 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-07 17:00:40 +0200
commit8abf4e910072e50673b9490bb50edb41f3f4865e (patch)
tree5443d877d1d60aad9df5ab0ddd74b874d0841b07
parentf5ec92a11071f75e05b4aa46ebf8317ee41af9f9 (diff)
downloadgnutls-8abf4e910072e50673b9490bb50edb41f3f4865e.tar.gz
.gitlab-ci.yml: removed initialization step
That is, combine syntax-check with the static analyzers run. That provides more parallelism per build and reduces the overall time spent on a successful run. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--.gitlab-ci.yml22
1 files changed, 1 insertions, 21 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bda9adb04a..e728984807 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,4 @@
stages:
- - initialization
- stage1-testing
# we utilize the images generated by the build-images project, to
@@ -12,26 +11,6 @@ variables:
FEDORA_X86_BUILD: buildenv-f26-x86
GET_SOURCES_ATTEMPTS: "3"
-################
-# Initialization
-################
-
-init/Fedora/x86_64:
- stage: initialization
- image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
- script:
- - make autoreconf
- - ./configure --prefix=/usr --libdir=/usr/lib64 --disable-cxx --disable-non-suiteb-curves --disable-maintainer-mode --disable-guile
- - make syntax-check
- tags:
- - shared
- artifacts:
- expire_in: 1 week
- when: on_failure
- paths:
- - ./*.log
-
-
##################################################
# Stage 1, documentation, and advanced checks
##################################################
@@ -200,6 +179,7 @@ static-analyzers/Fedora/x86_64:
script:
- make autoreconf
- scan-build ./configure --disable-doc --disable-guile --enable-fips140-mode --enable-valgrind-tests
+ - make -j$(nproc) syntax-check
- make -j$(nproc) -C gl
- scan-build --status-bugs -o scan-build-lib make -j$(nproc) -C lib
- scan-build --status-bugs -o scan-build-libdane make -j$(nproc) -C libdane