From: Peter van Dijk Date: Tue, 9 Jul 2019 14:19:53 +0000 (+0200) Subject: test ixfrdist in CircleCI X-Git-Tag: dnsdist-1.4.0-rc1~58^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26c5a7f9a57c4feb9d855b554fb2e4aeb54e6618;p=pdns test ixfrdist in CircleCI --- diff --git a/.circleci/config.yml b/.circleci/config.yml index ac24a1265..a1fb92dba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -194,6 +194,18 @@ commands: 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: @@ -220,6 +232,7 @@ commands: libsqlite3-dev \ libssl-dev \ libtool \ + libyaml-cpp-dev \ make \ pkg-config \ ragel \ @@ -462,7 +475,8 @@ jobs: --enable-tools \ --with-lmdb=/usr \ --with-libsodium \ - --prefix=/opt/pdns-auth + --prefix=/opt/pdns-auth \ + --enable-ixfrdist - run: name: build command: make -j3 -k @@ -1235,6 +1249,23 @@ jobs: 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: @@ -1305,6 +1336,9 @@ workflows: - test-dnsdist-regression: requires: - build-dnsdist + - test-ixfrdist-regression: + requires: + - build-auth build-docs: jobs: