]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add jobs for 'configure --with{out}-lmdb' to the GitLab CI
authorMark Andrews <marka@isc.org>
Mon, 23 Mar 2020 01:04:30 +0000 (12:04 +1100)
committerMark Andrews <marka@isc.org>
Thu, 30 Apr 2020 20:51:05 +0000 (06:51 +1000)
We missed a case where LMDB was not installed/used in the build
and that broke system tests on such systems.

.gitlab-ci.yml

index 3f04664718374e441be443b2b73a387a729d9c72..2096ec31b7ed0d81df1fe752774d4707d37237f4 100644 (file)
@@ -670,12 +670,13 @@ scan-build:
     when: on_failure
 
 # Jobs for regular GCC builds on Debian Sid (amd64)
+# Also tests configration option: --without-lmdb.
 
 gcc:sid:amd64:
   variables:
     CC: gcc
     CFLAGS: "${CFLAGS_COMMON} -O3"
-    EXTRA_CONFIGURE: "--enable-dnstap --with-libidn2"
+    EXTRA_CONFIGURE: "--enable-dnstap --with-libidn2 --without-lmdb"
     RUN_MAKE_INSTALL: 1
   <<: *debian_sid_amd64_image
   <<: *build_job
@@ -699,13 +700,14 @@ cppcheck:
   <<: *cppcheck_job
 
 # Job for out-of-tree GCC build on Debian Sid (amd64)
+# Also tests configration option: --with-lmdb.
 
 gcc:out-of-tree:
   variables:
     CC: gcc
     CFLAGS: "${CFLAGS_COMMON} -Og"
     CONFIGURE: ../configure
-    EXTRA_CONFIGURE: "--enable-dnstap --with-libidn2"
+    EXTRA_CONFIGURE: "--enable-dnstap --with-libidn2 --with-lmdb"
     RUN_MAKE_INSTALL: 1
     OOT_BUILD_WORKSPACE: workspace
   <<: *base_image