image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- git submodule update --init --no-fetch
- - ./bootstrap
+ - ./bootstrap --no-git
- CFLAGS="-std=c99 -O2 -g" dash ./configure --disable-gcc-warnings --cache-file cache/config.cache --prefix=/usr --libdir=/usr/lib64 --disable-cxx --disable-non-suiteb-curves --enable-gtk-doc --disable-maintainer-mode
- make -C doc stamp-vti && make -C doc stamp-1 && make -j$(nproc)
- make -C doc gnutls.html
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
script:
- git submodule update --init --no-fetch
- - ./bootstrap
+ - ./bootstrap --no-git
- CFLAGS="-g -Og" dash ./configure --disable-gcc-warnings --cache-file cache/config.cache --prefix=/usr --libdir=/usr/lib64 --enable-code-coverage --disable-maintainer-mode --disable-doc
- make -j$(nproc)
- make abi-check
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- echo "No tools build"
- - ./bootstrap
+ - ./bootstrap --no-git
- dash ./configure --cache-file cache/config.cache --disable-gcc-warnings --disable-full-test-suite --disable-doc --disable-guile --disable-tools --enable-tests
- make -j$(nproc)
- make -j$(nproc) check
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- - ./bootstrap
+ - ./bootstrap --no-git
- mkdir -p build && cd build &&
dash ../configure --disable-gcc-warnings --cache-file ../cache/config.cache --enable-ssl3-support --disable-ssl2-support --disable-full-test-suite --enable-seccomp-tests --disable-doc --disable-guile &&
make -j$(nproc) && make check -j$(nproc)
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- - ./bootstrap
+ - ./bootstrap --no-git
- mkdir -p build && cd build &&
dash ../configure --disable-gcc-warnings --cache-file ../cache/config.cache --disable-non-suiteb-curves --enable-fips140-mode --disable-doc --disable-full-test-suite --disable-guile
- make -j$(nproc)
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- - ./bootstrap
+ - ./bootstrap --no-git
- dash ./configure --disable-gcc-warnings --disable-doc --cache-file cache/config.cache --disable-guile --disable-full-test-suite --enable-valgrind-tests
- make -j$(nproc)
- make check -j$(nproc)
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- git submodule update --init --no-fetch
- - ./bootstrap
+ - ./bootstrap --no-git
- CFLAGS="-fsanitize=address -g -O2" CXXFLAGS=$CFLAGS LDFLAGS="-static-libasan"
dash ./configure --disable-gcc-warnings --disable-doc --cache-file cache/config.cache --disable-non-suiteb-curves --disable-guile
- make -j$(nproc)
before_script:
- /bin/true
script:
- - ./bootstrap
+ - ./bootstrap --no-git
- scan-build ./configure --cache-file cache/config.cache --disable-doc --disable-guile --enable-fips140-mode --enable-valgrind-tests
- - make -j$(nproc) syntax-check
+ - make -j$(nproc) syntax-check gnulib_dir=$GNULIB_SRCDIR
- 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-lib make -j$(nproc) -C libdane
script:
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &&
echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
- - ./bootstrap
+ - ./bootstrap --no-git
- export CC="ccache i686-w64-mingw32-gcc"
- dash ./configure --disable-gcc-warnings --host=i686-w64-mingw32 --target=i686-w64-mingw32 --cache-file cache/config.cache --with-included-libtasn1 --disable-nls --disable-guile --with-included-unistring --enable-local-libopts --disable-non-suiteb-curves --disable-full-test-suite --disable-doc &&
mingw32-make -j$(nproc) && mingw32-make -C tests check -j$(nproc)
script:
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &&
echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
- - ./bootstrap
+ - ./bootstrap --no-git
- export CC="ccache x86_64-w64-mingw32-gcc"
- dash ./configure --disable-gcc-warnings --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --cache-file cache/config.cache --with-included-libtasn1 --disable-guile --disable-nls --with-included-unistring --enable-local-libopts --disable-non-suiteb-curves --disable-full-test-suite --disable-doc &&
mingw64-make -j$(nproc) && mingw64-make -C tests check -j$(nproc)
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- - ./bootstrap
+ - ./bootstrap --no-git
- export CC="ccache x86_64-w64-mingw32-gcc"
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &&
echo ':DOSWin:M::MZ::/usr/bin/wine64:' > /proc/sys/fs/binfmt_misc/register &&
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- - ./bootstrap
+ - ./bootstrap --no-git
- export CC="ccache i686-w64-mingw32-gcc"
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &&
echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register &&
image:
script:
- export CC="ccache clang"
- - ./bootstrap && LIBS="-L/usr/local/lib" ./configure --disable-full-test-suite
+ - ./bootstrap --no-git
+ - LIBS="-L/usr/local/lib" ./configure --disable-full-test-suite
--cache-file cache/config.cache --disable-gcc-warnings --disable-guile --disable-doc && gmake -j$(sysctl hw.ncpu | awk '{print $2}') && gmake check -j$(sysctl hw.ncpu | awk '{print $2}')
tags:
- freebsd
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_X86_BUILD
script:
- - ./bootstrap && mkdir -p build && cd build &&
+ - ./bootstrap --no-git
+ - mkdir -p build && cd build &&
CC="ccache gcc -m32" PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig/ TIME_T_32_BIT_OK=yes
../configure --disable-gcc-warnings --host=i686-redhat-linux --target=i686-redhat-linux
--libdir=/usr/lib --disable-cxx --disable-non-suiteb-curves --enable-seccomp-tests
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- - ./bootstrap
+ - ./bootstrap --no-git
- CFLAGS="-std=c99 -fsanitize=undefined -fsanitize=bool -fsanitize=alignment -fsanitize=null -fsanitize=bounds-strict -fsanitize=enum -fno-sanitize-recover -g -O2" CXXFLAGS=$CFLAGS LDFLAGS="-static-libubsan" dash ./configure
--cache-file cache/config.cache --disable-non-suiteb-curves --disable-guile --disable-full-test-suite --disable-doc
- make -j$(nproc) -C gl
stage: stage1-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
script:
- - ./bootstrap && mkdir -p build && cd build &&
+ - ./bootstrap --no-git
+ - mkdir -p build && cd build &&
dash ../configure --disable-gcc-warnings --cache-file ../cache/config.cache --disable-doc --disable-guile --disable-full-test-suite &&
make -j$(nproc) && make check -j$(nproc)
- cd ..
# cross-compile mode even though --build is given
- export CC_FOR_BUILD="ccache gcc"
- export CC="ccache $host-gcc"
- - ./bootstrap
+ - ./bootstrap --no-git
- mkdir -p build
- cd build
# Debian's softhsm package is not multiarch yet. Missing softhsm libraries