Commit abc76c8e authored by Dominik Charousset's avatar Dominik Charousset

Drop incompatible distros, fix noexcept build

parent 8fb24b92
FROM centos:6
RUN yum update -y \
&& yum install -y centos-release-scl \
&& yum install -y epel-release \
&& yum update -y \
&& yum clean all
RUN yum install -y \
cmake3 \
devtoolset-7 \
devtoolset-7-libasan-devel \
devtoolset-7-libubsan-devel \
git \
make \
openssl-devel \
&& yum clean all
ENV CXX=/opt/rh/devtoolset-7/root/usr/bin/g++
FROM debian:buster
RUN apt update -y && \
apt upgrade -y
RUN apt install -y \
cmake \
g++-8 \
git \
libssl-dev \
make \
&& apt autoclean
ENV CXX=/usr/bin/g++-8
FROM debian:stretch
RUN apt update -y && \
apt upgrade -y
RUN apt install -y \
clang-7 \
cmake \
git \
libssl-dev \
make \
&& apt autoclean
ENV CXX=/usr/bin/clang++-7
FROM ubuntu:16.04
RUN apt update -y && \
apt upgrade -y
RUN apt install -y \
clang-8 \
cmake \
git \
libssl-dev \
make \
&& apt autoclean
ENV CXX=/usr/bin/clang++-8
FROM ubuntu:18.04
FROM ubuntu:20.04
RUN apt update -y && \
apt upgrade -y
RUN apt install -y \
cmake \
g++-8 \
g++-9 \
git \
libssl-dev \
make \
&& apt-get autoclean
ENV CXX=/usr/bin/g++-8
ENV CXX=/usr/bin/g++-9
......@@ -29,34 +29,13 @@ config = [
// Our build matrix. Keys are the operating system labels and values are build configurations.
buildMatrix: [
// Various Linux builds for debug and release.
['centos-6', [
numCores: 4,
tags: ['docker'],
builds: ['debug', 'release'],
extraDebugFlags: ['CAF_SANITIZERS:STRING=address,undefined'],
]],
['centos-7', [
numCores: 4,
tags: ['docker'],
builds: ['debug', 'release'],
extraDebugFlags: ['CAF_SANITIZERS:STRING=address,undefined'],
]],
['debian-9', [
numCores: 4,
tags: ['docker'],
builds: ['debug', 'release'],
]],
['debian-10', [
numCores: 4,
tags: ['docker'],
builds: ['debug', 'release'],
]],
['ubuntu-16.04', [
numCores: 4,
tags: ['docker'],
builds: ['debug', 'release'],
]],
['ubuntu-18.04', [
['ubuntu-20.04', [
numCores: 4,
tags: ['docker'],
builds: ['debug', 'release'],
......
......@@ -23,13 +23,14 @@
#include "caf/detail/net_export.hpp"
#include "caf/error.hpp"
#include "caf/net/host.hpp"
#include "caf/raise_error.hpp"
namespace {
struct CAF_NET_EXPORT host_fixture {
host_fixture() {
if (auto err = caf::net::this_host::startup())
throw std::logic_error("this_host::startup failed");
CAF_RAISE_ERROR(std::logic_error, "this_host::startup failed");
}
~host_fixture() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment