From 335d8ba22c03996770499896659a98066d9eda81 Mon Sep 17 00:00:00 2001 From: Julien CLEMENT Date: Sat, 6 Nov 2021 02:42:38 +0100 Subject: [PATCH] feat(ci): add CI Signed-off-by: Julien CLEMENT --- .drone.yml | 10 ++++++++++ src/message/message.hh | 1 + src/misc/addrinfo/addrinfo.cc | 4 ++-- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5f9167c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,10 @@ +kind: pipeline +name: build + +steps: + - name: build + image: turboregistry:5000/juju/turbo-ci + commands: + - ./autogen.sh + - ./configure + - make diff --git a/src/message/message.hh b/src/message/message.hh index 6797f00..24dd653 100644 --- a/src/message/message.hh +++ b/src/message/message.hh @@ -1,5 +1,6 @@ #pragma once #include +#include #include "misc/buffer.hh" #include "legislator/legislator.hh" diff --git a/src/misc/addrinfo/addrinfo.cc b/src/misc/addrinfo/addrinfo.cc index 59e4745..d33f450 100644 --- a/src/misc/addrinfo/addrinfo.cc +++ b/src/misc/addrinfo/addrinfo.cc @@ -18,7 +18,7 @@ namespace misc std::ostream& operator<<(std::ostream& os, const addrinfo&) { - os << "addrinfo{" - << "}"; + os << std::string("addrinfo{") + << std::string("}"); return os; }