From: Michal Nowak Date: Mon, 30 May 2022 14:20:53 +0000 (+0200) Subject: Build contrib dlz modules in the CI X-Git-Tag: v9.19.8~47^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a4a91b012ce4b5021a702e34e98da604886017f;p=thirdparty%2Fbind9.git Build contrib dlz modules in the CI --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 433907c31b2..4d9fc905dc5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -270,7 +270,9 @@ stages: - *configure - *check_readline_setup - make -j${BUILD_PARALLEL_JOBS:-1} -k all V=1 + - test -z "${BUILD_CONTRIB}" || for DIR in contrib/dlz/modules/*; do test -f "${DIR}/Makefile" && CFLAGS="${CFLAGS} -Werror" make -C "${DIR}"; done - test -z "${RUN_MAKE_INSTALL}" || make DESTDIR="${INSTALL_PATH}" install + - test -z "${RUN_MAKE_INSTALL}" -o -z "${BUILD_CONTRIB}" || for DIR in contrib/dlz/modules/*; do test -f "${DIR}/Makefile" && make -C "${DIR}" DESTDIR="${INSTALL_PATH}" install; done - test -z "${RUN_MAKE_INSTALL}" || DESTDIR="${INSTALL_PATH}" sh util/check-make-install - if [[ "${CFLAGS}" == *"-fsanitize=address"* ]]; then ( ! grep -F AddressSanitizer config.log ); fi - test -z "${CROSS_COMPILATION}" || grep -F -A 1 "checking whether we are cross compiling" config.log | grep -q "result.*yes" @@ -659,9 +661,11 @@ unit:gcc:oraclelinux9:amd64: gcc:bullseye:amd64: variables: + BUILD_CONTRIB: 1 CC: gcc CFLAGS: "${CFLAGS_COMMON} --coverage -O0" EXTRA_CONFIGURE: "--with-libidn2 ${WITH_READLINE_LIBEDIT}" + RUN_MAKE_INSTALL: 1 <<: *debian_bullseye_amd64_image <<: *build_job @@ -1039,10 +1043,12 @@ unit:clang:tsan: clang:bullseye:amd64: variables: + BUILD_CONTRIB: 1 CC: ${CLANG} CFLAGS: "${CFLAGS_COMMON} -Wenum-conversion" # See https://gitlab.isc.org/isc-projects/bind9/-/issues/3444 EXTRA_CONFIGURE: "--without-jemalloc --disable-leak-detection" + RUN_MAKE_INSTALL: 1 <<: *debian_bullseye_amd64_image <<: *build_job