protobuf-compiler \
virtualenv
+ install-ixfrdist-deps:
+ description: "Install all libraries needed for testing ixfrdist"
+ steps:
+ - run: apt-get update
+ - run:
+ command: |
+ apt-get install -qq -y \
+ libboost-all-dev \
+ libsystemd0 \
+ libyaml-cpp0.5v5 \
+ virtualenv
+
install-auth-dev-deps:
description: Install all packages needed to build the auth
steps:
libsqlite3-dev \
libssl-dev \
libtool \
+ libyaml-cpp-dev \
make \
pkg-config \
ragel \
--enable-tools \
--with-lmdb=/usr \
--with-libsodium \
- --prefix=/opt/pdns-auth
+ --prefix=/opt/pdns-auth \
+ --enable-ixfrdist
- run:
name: build
command: make -j3 -k
DNSDISTBIN="/opt/dnsdist/bin/dnsdist" \
./runtests
+ test-ixfrdist-regression:
+ docker:
+ - image: debian:stretch
+ environment:
+ UBSAN_OPTIONS: 'print_stacktrace=1:halt_on_error=1'
+ steps:
+ - install-ixfrdist-deps
+ - checkout-shallow
+ - attach_workspace:
+ at: /opt
+ - run:
+ name: Run ixfrdist tests
+ workdir: ~/project/regression-tests.ixfrdist
+ command: |
+ IXFRDISTBIN="/opt/pdns-auth/bin/ixfrdist" \
+ ./runtests
+
workflows:
version: 2
coverity:
- test-dnsdist-regression:
requires:
- build-dnsdist
+ - test-ixfrdist-regression:
+ requires:
+ - build-auth
build-docs:
jobs: