summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2022-10-02 16:13:06 +0100
committerColin Watson <cjwatson@debian.org>2022-10-02 16:13:06 +0100
commit57380518355f6e729c5bfceab06bdbed9e7b224b (patch)
tree1f016ab1f40c93050c34ff930ab955536608184a
parent866c3571d34313c53193d5920de252f8c2c9af1e (diff)
Add CI checks for Berkeley DB and NDBM
* .gitlab-ci.yml (build-berkeley-db, build-ndbm): New jobs.
-rw-r--r--.gitlab-ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 884b5efa..d764111b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -64,6 +64,25 @@ build-out-of-tree:
- (cd bootstrapped/obj && ../configure)
- make -C bootstrapped/obj check V=1 VERBOSE=1
+build-berkeley-db:
+ stage: build
+ before_script:
+ - apt -qq update
+ - apt -y -qq install build-essential bsdextrautils flex git groff libdb-dev libpipeline-dev pkg-config po4a zlib1g-dev
+ script:
+ - (cd bootstrapped && ./configure --with-db=db)
+ - make -C bootstrapped check V=1 VERBOSE=1
+
+build-ndbm:
+ stage: build
+ before_script:
+ - apt -qq update
+ # libgdbm-dev is needed here due to https://bugs.debian.org/1021123.
+ - apt -y -qq install build-essential bsdextrautils flex git groff libgdbm-compat-dev libgdbm-dev libpipeline-dev pkg-config po4a zlib1g-dev
+ script:
+ - (cd bootstrapped && ./configure --with-db=ndbm)
+ - make -C bootstrapped check V=1 VERBOSE=1
+
upload:
stage: upload
image: curlimages/curl:latest