-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/topic/christian/ci-refresh'
* origin/topic/christian/ci-refresh: Add CI support for Debian 10, Fedora 31 & 33, FreeBSD 11, Ubuntu 20.04
- Loading branch information
Showing
11 changed files
with
204 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.3.0-dev.504 | ||
3.3.0-dev.506 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
FROM debian:10 | ||
|
||
ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" | ||
|
||
RUN apt-get update && apt-get -y install \ | ||
git \ | ||
cmake \ | ||
make \ | ||
gcc \ | ||
g++ \ | ||
flex \ | ||
bison \ | ||
libpcap-dev \ | ||
libssl-dev \ | ||
python3 \ | ||
python3-dev \ | ||
python3-pip\ | ||
swig \ | ||
zlib1g-dev \ | ||
libkrb5-dev \ | ||
bsdmainutils \ | ||
sqlite3 \ | ||
curl \ | ||
wget \ | ||
xz-utils \ | ||
clang \ | ||
libc++-7-dev \ | ||
libc++abi-7-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 | ||
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 100 | ||
|
||
# Many distros adhere to PEP 394's recommendation for `python` = `python2` so | ||
# this is a simple workaround until we drop Python 2 support and explicitly | ||
# use `python3` for all invocations (e.g. in shebangs). | ||
RUN ln -sf /usr/bin/python3 /usr/local/bin/python | ||
RUN ln -sf /usr/bin/pip3 /usr/local/bin/pip | ||
|
||
RUN pip install junit2html | ||
|
||
ENV CXXFLAGS=-stdlib=libc++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM fedora:31 | ||
|
||
RUN yum -y install \ | ||
bison \ | ||
cmake \ | ||
diffutils \ | ||
findutils \ | ||
flex \ | ||
git \ | ||
gcc \ | ||
gcc-c++ \ | ||
libpcap-devel \ | ||
make \ | ||
openssl \ | ||
openssl-devel \ | ||
python3 \ | ||
python3-devel \ | ||
python3-pip\ | ||
sqlite \ | ||
swig \ | ||
which \ | ||
zlib-devel \ | ||
&& yum clean all && rm -rf /var/cache/yum | ||
|
||
# Many distros adhere to PEP 394's recommendation for `python` = `python2` so | ||
# this is a simple workaround until we drop Python 2 support and explicitly | ||
# use `python3` for all invocations (e.g. in shebangs). | ||
RUN ln -sf /usr/bin/python3 /usr/local/bin/python | ||
RUN ln -sf /usr/bin/pip3 /usr/local/bin/pip | ||
|
||
RUN pip install junit2html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM fedora:33 | ||
|
||
RUN yum -y install \ | ||
bison \ | ||
cmake \ | ||
diffutils \ | ||
findutils \ | ||
flex \ | ||
git \ | ||
gcc \ | ||
gcc-c++ \ | ||
libpcap-devel \ | ||
make \ | ||
openssl \ | ||
openssl-devel \ | ||
python3 \ | ||
python3-devel \ | ||
python3-pip\ | ||
sqlite \ | ||
swig \ | ||
which \ | ||
zlib-devel \ | ||
&& yum clean all && rm -rf /var/cache/yum | ||
|
||
# Many distros adhere to PEP 394's recommendation for `python` = `python2` so | ||
# this is a simple workaround until we drop Python 2 support and explicitly | ||
# use `python3` for all invocations (e.g. in shebangs). | ||
RUN ln -sf /usr/bin/python3 /usr/local/bin/python | ||
RUN ln -sf /usr/bin/pip3 /usr/local/bin/pip | ||
|
||
RUN pip install junit2html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
FROM ubuntu:20.04 | ||
|
||
ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" | ||
|
||
RUN apt-get update && apt-get -y install \ | ||
git \ | ||
cmake \ | ||
make \ | ||
gcc \ | ||
g++ \ | ||
flex \ | ||
bison \ | ||
libpcap-dev \ | ||
libssl-dev \ | ||
python3 \ | ||
python3-dev \ | ||
python3-pip\ | ||
swig \ | ||
zlib1g-dev \ | ||
libmaxminddb-dev \ | ||
libkrb5-dev \ | ||
bsdmainutils \ | ||
sqlite3 \ | ||
curl \ | ||
wget \ | ||
unzip \ | ||
ruby \ | ||
bc \ | ||
lcov \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Many distros adhere to PEP 394's recommendation for `python` = `python2` so | ||
# this is a simple workaround until we drop Python 2 support and explicitly | ||
# use `python3` for all invocations (e.g. in shebangs). | ||
RUN ln -sf /usr/bin/python3 /usr/local/bin/python | ||
RUN ln -sf /usr/bin/pip3 /usr/local/bin/pip | ||
|
||
RUN pip install junit2html | ||
RUN gem install coveralls-lcov |