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-08 15:18:08 +0200
commit0edc7f3814eb2d57a6f83553294f46d886f7b1b5 (patch)
treed9231202f9785785a5aa6b23aff17a0071e3aee1
parent8efc7926fd20a4f7d7637053f4b56e5bc11f62a2 (diff)
downloadgnutls-0edc7f3814eb2d57a6f83553294f46d886f7b1b5.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 a43a2de686..5b15f0280a 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
@@ -13,26 +12,6 @@ variables:
CPPCHECK_OPTIONS: "--enable=style --enable=performance --enable=portability --std=c99 --suppressions-list=devel/cppcheck.suppressions --template='{id}:{file}:{line},{severity},{message}'"
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
##################################################
@@ -201,6 +180,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