stages:
- initialization
- stage1-testing
- - stage2-testing
# we utilize the images generated by the build-images project, to
# speed up CI runs.
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
+ - make distclean
tags:
- shared
- artifacts:
- untracked: true
- expire_in: 1 day
-
-
-########################################
-# Stage 1, syntax and simple build+check
-########################################
-
-# Main build (used in stage2) - compile with C99
-ABI-check/Fedora/x86_64:
- stage: stage1-testing
- image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
- script:
- - CFLAGS="-std=c99 -O2 -g" ./configure --prefix=/usr --libdir=/usr/lib64 --disable-cxx --enable-code-coverage --disable-non-suiteb-curves --disable-maintainer-mode --disable-doc
- && make -j$(nproc)
- - make abi-check
- - make pic-check
- tags:
- - shared
- except:
- - tags
- dependencies:
- - init/Fedora/x86_64
artifacts:
untracked: true
expire_in: 4 days
-syntax-check/Fedora/x86_64:
- stage: stage1-testing
- image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
- script:
- - ./configure --prefix=/usr --libdir=/usr/lib64 --disable-cxx --disable-non-suiteb-curves --disable-maintainer-mode --disable-guile
- - make syntax-check
- tags:
- - shared
- dependencies:
- - init/Fedora/x86_64
- except:
- - tags
+
+##################################################
+# Stage 1, documentation, and advanced checks
+##################################################
cppcheck/Fedora/x86_64:
stage: stage1-testing
- tests/*.log
- tests/*/*.log
-##################################################
-# Stage 2, documentation, and advanced checks
-##################################################
dist/Fedora:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- git submodule update --init --no-fetch
except:
- tags
-coverage/Fedora:
- stage: stage2-testing
+# ABI check + coverage
+abi-coverage/Fedora:
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- git submodule update --init --no-fetch
+ - CFLAGS="-std=c99 -O2 -g" ./configure --prefix=/usr --libdir=/usr/lib64 --disable-cxx --enable-code-coverage --disable-non-suiteb-curves --disable-maintainer-mode --disable-doc
+ && make -j$(nproc)
+ - make abi-check
+ - make pic-check
- make -j$(nproc) check
- make local-code-coverage-output || true
tags:
- shared
dependencies:
- - ABI-check/Fedora/x86_64
+ - init/Fedora/x86_64
except:
- tags
artifacts:
paths:
- GnuTLS*-coverage/*
-
minimal/Fedora/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- dnf remove -y libunistring-devel libtasn1-devel libidn-devel &&
- tags
no-SSL-3.0/Fedora/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- mkdir -p build && cd build &&
- build/tests/suite/*/*.log
FIPS140-2/Fedora/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- mkdir -p build && cd build &&
- build/tests/*/*.log
IDNA2003/Fedora/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- mkdir -p build && cd build &&
- build/tests/*/*.log
no-openpgp/Fedora/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- mkdir -p build && cd build &&
- build/compat_reports/*
valgrind/Fedora/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- ./configure --disable-doc --disable-guile --disable-full-test-suite --enable-valgrind-tests
- tests/*/*.log
no-tools/Fedora/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- ./configure --disable-full-test-suite --disable-doc --disable-guile --disable-tools --enable-tests
- tests/*/*.log
asan/Fedora/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- git submodule update --init --no-fetch
- tests/suite/*/*.log
clang-analyzer/Fedora/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- scan-build ./configure --disable-doc --disable-guile --enable-fips140-mode --enable-valgrind-tests
- scan-build-libdane/*
MinGW32/DLLs:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &&
- win32-build/
MinGW64/DLLs:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &&
- win64-build/
MinGW64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &&
- build/tests/*/*.log
MinGW32:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &&
# That is a specific runner that we cannot enable universally.
# We restrict it to builds under the $BUILD_IMAGES_PROJECT project.
FreeBSD10/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image:
before_script:
- /usr/bin/true
# We need a clean 32-bit fedora for testing
Fedora/x86:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_X86_BUILD
script:
- git submodule update --init --no-fetch
- build/tests/suite/*/*.log
ubsan-Werror/Fedora/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- git submodule update --init --no-fetch
- tests/suite/*/*.log
build/Debian/x86_64:
- stage: stage2-testing
+ stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
script:
- git submodule update --init --no-fetch