diff --git a/.dockers/centos-7/Dockerfile b/.dockers/centos-7/Dockerfile new file mode 100644 index 00000000..79794e90 --- /dev/null +++ b/.dockers/centos-7/Dockerfile @@ -0,0 +1,19 @@ +FROM centos:7 + +RUN yum update -y +RUN yum install -y epel-release +RUN yum -y groupinstall "Development Tools" +RUN yum install -y cmake openssl-devel clang libcxx-devel libcxxabi-devel bzip2-devel which zlib-devel + +WORKDIR /devel +RUN git clone -b develop https://github.com/boostorg/boost.git +COPY .dockers/centos-7/user-config.jam /devel/boost/ +COPY .dockers/centos-7/tests.sh /devel/boost/ + +WORKDIR /devel/boost +RUN git submodule update --init --recursive +COPY . /devel/boost/libs/beast/ + +RUN ./bootstrap.sh +RUN ./b2 toolset=gcc variant=release cxxstd=latest headers +RUN ./tests.sh || true diff --git a/.dockers/centos-7/tests.sh b/.dockers/centos-7/tests.sh new file mode 100755 index 00000000..2c91e144 --- /dev/null +++ b/.dockers/centos-7/tests.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -e + +#cxxstd=2a,17,14,11 \ + +./b2 --user-config=./user-config.jam \ + toolset=clang,gcc \ + asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ + variant=release \ + cxxstd=11 \ + -j`grep processor /proc/cpuinfo | wc -l` \ + -q \ + libs/beast/test libs/beast/example diff --git a/.dockers/centos-7/user-config.jam b/.dockers/centos-7/user-config.jam new file mode 100644 index 00000000..544e0eb1 --- /dev/null +++ b/.dockers/centos-7/user-config.jam @@ -0,0 +1,11 @@ +import feature ; + +feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; +feature.compose nodep : "BOOST_ASIO_NO_DEPRECATED" ; +feature.compose nots : "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose ts : "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; +feature.compose nodep-nots : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose nodep-ts : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; + +using clang : : clang++ : "libc++" "-Wno-c99-extensions" ; +using gcc : : g++ : "-Wno-c99-extensions" ; diff --git a/.dockers/debian-10/Dockerfile b/.dockers/debian-10/Dockerfile new file mode 100644 index 00000000..5707d7f8 --- /dev/null +++ b/.dockers/debian-10/Dockerfile @@ -0,0 +1,19 @@ +FROM debian:10 + +RUN apt-get update +RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata +RUN apt-get install -y build-essential +RUN apt-get install -y git cmake libssl-dev clang libc++-dev libc++abi-dev libbz2-dev zlib1g-dev mlocate + +WORKDIR /devel +RUN git clone -b develop https://github.com/boostorg/boost.git +COPY .dockers/debian-10/user-config.jam /devel/boost/ +COPY .dockers/debian-10/tests.sh /devel/boost/ + +WORKDIR /devel/boost +RUN git submodule update --init --recursive +COPY . /devel/boost/libs/beast/ + +RUN ./bootstrap.sh +RUN ./b2 toolset=gcc variant=release cxxstd=latest headers +RUN ./tests.sh || true diff --git a/.dockers/debian-10/tests.sh b/.dockers/debian-10/tests.sh new file mode 100755 index 00000000..ff842c5c --- /dev/null +++ b/.dockers/debian-10/tests.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -e + +./b2 --user-config=./user-config.jam \ + toolset=clang,gcc \ + asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ + variant=release \ + cxxstd=2a,17,14,11 \ + -j`grep processor /proc/cpuinfo | wc -l` \ + -q \ + libs/beast/test libs/beast/example diff --git a/.dockers/debian-10/user-config.jam b/.dockers/debian-10/user-config.jam new file mode 100644 index 00000000..544e0eb1 --- /dev/null +++ b/.dockers/debian-10/user-config.jam @@ -0,0 +1,11 @@ +import feature ; + +feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; +feature.compose nodep : "BOOST_ASIO_NO_DEPRECATED" ; +feature.compose nots : "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose ts : "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; +feature.compose nodep-nots : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose nodep-ts : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; + +using clang : : clang++ : "libc++" "-Wno-c99-extensions" ; +using gcc : : g++ : "-Wno-c99-extensions" ; diff --git a/.dockers/debian-9/Dockerfile b/.dockers/debian-9/Dockerfile new file mode 100644 index 00000000..91f2bbfe --- /dev/null +++ b/.dockers/debian-9/Dockerfile @@ -0,0 +1,19 @@ +FROM debian:9 + +RUN apt-get update +RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata +RUN apt-get install -y build-essential +RUN apt-get install -y git cmake libssl-dev clang libc++-dev libc++abi-dev libbz2-dev zlib1g-dev mlocate + +WORKDIR /devel +RUN git clone -b develop https://github.com/boostorg/boost.git +COPY .dockers/debian-9/user-config.jam /devel/boost/ +COPY .dockers/debian-9/tests.sh /devel/boost/ + +WORKDIR /devel/boost +RUN git submodule update --init --recursive +COPY . /devel/boost/libs/beast/ + +RUN ./bootstrap.sh +RUN ./b2 toolset=gcc variant=release cxxstd=latest headers +RUN ./tests.sh || true diff --git a/.dockers/debian-9/tests.sh b/.dockers/debian-9/tests.sh new file mode 100755 index 00000000..e26fe374 --- /dev/null +++ b/.dockers/debian-9/tests.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -e + +# modify cxxstd=2a,17,14,11 + +./b2 --user-config=./user-config.jam \ + toolset=clang,gcc \ + asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ + variant=release \ + cxxstd=14,11 \ + -j`grep processor /proc/cpuinfo | wc -l` \ + -q \ + libs/beast/test libs/beast/example diff --git a/.dockers/debian-9/user-config.jam b/.dockers/debian-9/user-config.jam new file mode 100644 index 00000000..544e0eb1 --- /dev/null +++ b/.dockers/debian-9/user-config.jam @@ -0,0 +1,11 @@ +import feature ; + +feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; +feature.compose nodep : "BOOST_ASIO_NO_DEPRECATED" ; +feature.compose nots : "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose ts : "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; +feature.compose nodep-nots : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose nodep-ts : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; + +using clang : : clang++ : "libc++" "-Wno-c99-extensions" ; +using gcc : : g++ : "-Wno-c99-extensions" ; diff --git a/.dockers/fedora-32/Dockerfile b/.dockers/fedora-32/Dockerfile index 6696e45a..07c025e8 100644 --- a/.dockers/fedora-32/Dockerfile +++ b/.dockers/fedora-32/Dockerfile @@ -11,13 +11,9 @@ COPY .dockers/fedora-32/tests.sh /devel/boost/ WORKDIR /devel/boost RUN git submodule update --init --recursive -COPY Jamfile /devel/boost/libs/beast/ -COPY doc /devel/boost/libs/beast/doc/ -COPY example /devel/boost/libs/beast/example/ -COPY meta /devel/boost/libs/beast/meta/ -COPY tools /devel/boost/libs/beast/tools/ +COPY . /devel/boost/libs/beast/ #RUN cd libs/beast && git checkout develop && git pull origin develop RUN ./bootstrap.sh RUN ./b2 toolset=gcc variant=release cxxstd=latest headers -RUN ./tests.sh +RUN ./tests.sh || true diff --git a/.dockers/ubuntu-16/Dockerfile b/.dockers/ubuntu-16/Dockerfile new file mode 100644 index 00000000..038136ea --- /dev/null +++ b/.dockers/ubuntu-16/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu:16.04 + +RUN apt-get update +RUN apt-get install -y build-essential +RUN apt-get install -y git cmake libssl-dev clang libc++-dev libc++abi-dev libbz2-dev zlib1g-dev + +WORKDIR /devel +RUN git clone -b develop https://github.com/boostorg/boost.git +COPY .dockers/ubuntu-16/user-config.jam /devel/boost/ +COPY .dockers/ubuntu-16/tests.sh /devel/boost/ + +WORKDIR /devel/boost +RUN git submodule update --init --recursive +COPY . /devel/boost/libs/beast/ + +RUN ./bootstrap.sh +RUN ./b2 toolset=gcc variant=release cxxstd=latest headers +RUN ./tests.sh || true diff --git a/.dockers/ubuntu-16/tests.sh b/.dockers/ubuntu-16/tests.sh new file mode 100755 index 00000000..e1706eab --- /dev/null +++ b/.dockers/ubuntu-16/tests.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -e + +# cxxstd=2a,17,14,11 \ + +./b2 --user-config=./user-config.jam \ + toolset=clang,gcc \ + asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ + variant=release \ + cxxstd=14,11 \ + -j`grep processor /proc/cpuinfo | wc -l` \ + -q \ + libs/beast/test libs/beast/example diff --git a/.dockers/ubuntu-16/user-config.jam b/.dockers/ubuntu-16/user-config.jam new file mode 100644 index 00000000..544e0eb1 --- /dev/null +++ b/.dockers/ubuntu-16/user-config.jam @@ -0,0 +1,11 @@ +import feature ; + +feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; +feature.compose nodep : "BOOST_ASIO_NO_DEPRECATED" ; +feature.compose nots : "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose ts : "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; +feature.compose nodep-nots : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose nodep-ts : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; + +using clang : : clang++ : "libc++" "-Wno-c99-extensions" ; +using gcc : : g++ : "-Wno-c99-extensions" ; diff --git a/.dockers/ubuntu-18-cxxstd-17/Dockerfile b/.dockers/ubuntu-18-cxxstd-17/Dockerfile new file mode 100644 index 00000000..dcb2e003 --- /dev/null +++ b/.dockers/ubuntu-18-cxxstd-17/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu:18.04 + +RUN apt-get update +RUN apt-get install -y build-essential +RUN apt-get install -y git cmake libssl-dev clang libc++-10-dev libc++abi-10-dev libbz2-dev zlib1g-dev + +WORKDIR /devel +RUN git clone -b develop https://github.com/boostorg/boost.git +COPY .dockers/ubuntu-18-cxxstd-17/user-config.jam /devel/boost/ +COPY .dockers/ubuntu-18-cxxstd-17/tests.sh /devel/boost/ + +WORKDIR /devel/boost +RUN git submodule update --init --recursive +COPY . /devel/boost/libs/beast/ + +RUN ./bootstrap.sh +RUN ./b2 toolset=gcc variant=release cxxstd=latest headers +RUN ./tests.sh || true diff --git a/.dockers/ubuntu-18-cxxstd-17/tests.sh b/.dockers/ubuntu-18-cxxstd-17/tests.sh new file mode 100755 index 00000000..ac573397 --- /dev/null +++ b/.dockers/ubuntu-18-cxxstd-17/tests.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -e + +# cxxstd=2a,17,14,11 \ + +./b2 --user-config=./user-config.jam \ + toolset=clang,gcc \ + asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ + variant=release \ + cxxstd=17,14,11 \ + -j`grep processor /proc/cpuinfo | wc -l` \ + -q \ + libs/beast/test libs/beast/example diff --git a/.dockers/ubuntu-18-cxxstd-17/user-config.jam b/.dockers/ubuntu-18-cxxstd-17/user-config.jam new file mode 100644 index 00000000..544e0eb1 --- /dev/null +++ b/.dockers/ubuntu-18-cxxstd-17/user-config.jam @@ -0,0 +1,11 @@ +import feature ; + +feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; +feature.compose nodep : "BOOST_ASIO_NO_DEPRECATED" ; +feature.compose nots : "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose ts : "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; +feature.compose nodep-nots : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose nodep-ts : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; + +using clang : : clang++ : "libc++" "-Wno-c99-extensions" ; +using gcc : : g++ : "-Wno-c99-extensions" ; diff --git a/.dockers/ubuntu-18/Dockerfile b/.dockers/ubuntu-18/Dockerfile new file mode 100644 index 00000000..9cb6a163 --- /dev/null +++ b/.dockers/ubuntu-18/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu:18.04 + +RUN apt-get update +RUN apt-get install -y build-essential +RUN apt-get install -y git cmake libssl-dev clang libc++-10-dev libc++abi-10-dev libbz2-dev zlib1g-dev + +WORKDIR /devel +RUN git clone -b develop https://github.com/boostorg/boost.git +COPY .dockers/ubuntu-18/user-config.jam /devel/boost/ +COPY .dockers/ubuntu-18/tests.sh /devel/boost/ + +WORKDIR /devel/boost +RUN git submodule update --init --recursive +COPY . /devel/boost/libs/beast/ + +RUN ./bootstrap.sh +RUN ./b2 toolset=gcc variant=release cxxstd=latest headers +RUN ./tests.sh || true diff --git a/.dockers/ubuntu-18/tests.sh b/.dockers/ubuntu-18/tests.sh new file mode 100755 index 00000000..ff842c5c --- /dev/null +++ b/.dockers/ubuntu-18/tests.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -e + +./b2 --user-config=./user-config.jam \ + toolset=clang,gcc \ + asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ + variant=release \ + cxxstd=2a,17,14,11 \ + -j`grep processor /proc/cpuinfo | wc -l` \ + -q \ + libs/beast/test libs/beast/example diff --git a/.dockers/ubuntu-18/user-config.jam b/.dockers/ubuntu-18/user-config.jam new file mode 100644 index 00000000..544e0eb1 --- /dev/null +++ b/.dockers/ubuntu-18/user-config.jam @@ -0,0 +1,11 @@ +import feature ; + +feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; +feature.compose nodep : "BOOST_ASIO_NO_DEPRECATED" ; +feature.compose nots : "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose ts : "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; +feature.compose nodep-nots : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose nodep-ts : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; + +using clang : : clang++ : "libc++" "-Wno-c99-extensions" ; +using gcc : : g++ : "-Wno-c99-extensions" ; diff --git a/.dockers/ubuntu-20/Dockerfile b/.dockers/ubuntu-20/Dockerfile new file mode 100644 index 00000000..f1d996a7 --- /dev/null +++ b/.dockers/ubuntu-20/Dockerfile @@ -0,0 +1,19 @@ +FROM ubuntu:20.04 + +RUN apt-get update +RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata +RUN apt-get install -y build-essential +RUN apt-get install -y git cmake libssl-dev clang libc++-10-dev libc++abi-10-dev libbz2-dev zlib1g-dev mlocate + +WORKDIR /devel +RUN git clone -b develop https://github.com/boostorg/boost.git +COPY .dockers/ubuntu-20/user-config.jam /devel/boost/ +COPY .dockers/ubuntu-20/tests.sh /devel/boost/ + +WORKDIR /devel/boost +RUN git submodule update --init --recursive +COPY . /devel/boost/libs/beast/ + +RUN ./bootstrap.sh +RUN ./b2 toolset=gcc variant=release cxxstd=latest headers +RUN ./tests.sh || true diff --git a/.dockers/ubuntu-20/tests.sh b/.dockers/ubuntu-20/tests.sh new file mode 100755 index 00000000..ff842c5c --- /dev/null +++ b/.dockers/ubuntu-20/tests.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -e + +./b2 --user-config=./user-config.jam \ + toolset=clang,gcc \ + asio.mode=dflt,nodep,nots,ts,nodep-nots,nodep-ts \ + variant=release \ + cxxstd=2a,17,14,11 \ + -j`grep processor /proc/cpuinfo | wc -l` \ + -q \ + libs/beast/test libs/beast/example diff --git a/.dockers/ubuntu-20/user-config.jam b/.dockers/ubuntu-20/user-config.jam new file mode 100644 index 00000000..544e0eb1 --- /dev/null +++ b/.dockers/ubuntu-20/user-config.jam @@ -0,0 +1,11 @@ +import feature ; + +feature.feature asio.mode : dflt nodep nots ts nodep-nots nodep-ts : propagated composite ; +feature.compose nodep : "BOOST_ASIO_NO_DEPRECATED" ; +feature.compose nots : "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose ts : "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; +feature.compose nodep-nots : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_NO_TS_EXECUTORS" ; +feature.compose nodep-ts : "BOOST_ASIO_NO_DEPRECATED" "BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT" ; + +using clang : : clang++ : "libc++" "-Wno-c99-extensions" ; +using gcc : : g++ : "-Wno-c99-extensions" ;