From: Michal Nowak Date: Thu, 9 Jan 2020 09:42:36 +0000 (+0000) Subject: Add out-of-tree build to the CI X-Git-Tag: v9.14.10~26^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1258b8ccd994970dd082a16f65aec18b244128f9;p=thirdparty%2Fbind9.git Add out-of-tree build to the CI Fixes #1546. (cherry picked from commit 640dd566e9c0ef377b1384cabd5df48d72f9f93d) --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0956bb5a827..d0351c6dbe3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -188,6 +188,7 @@ stages: stage: build before_script: - test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}" + - test -n "${OOT_BUILD_WORKSPACE}" && mkdir "${OOT_BUILD_WORKSPACE}" && cd "${OOT_BUILD_WORKSPACE}" script: - *configure - ${MAKE} -j${BUILD_PARALLEL_JOBS:-1} -k all V=1 @@ -654,6 +655,19 @@ cppcheck:gcc:sid:amd64: - gcc:sid:amd64 needs: ["gcc:sid:amd64"] +# Job for out-of-tree GCC build on Debian Sid (amd64) + +oot:sid:amd64: + variables: + CC: gcc + CFLAGS: "${CFLAGS_COMMON} -O3" + CONFIGURE: ../configure + EXTRA_CONFIGURE: "--enable-dnstap --with-libidn2" + RUN_MAKE_INSTALL: 1 + OOT_BUILD_WORKSPACE: workspace + <<: *debian_sid_amd64_image + <<: *build_job + # Jobs for tarball GCC builds on Debian Sid (amd64) tarball:sid:amd64: