mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
ci: Add dnsmasq to a few platforms for testing
This commit is contained in:
parent
5859a7e28c
commit
3f4de778ae
8 changed files with 11 additions and 2 deletions
|
@ -12,6 +12,7 @@ RUN apk add --no-cache \
|
||||||
cmake \
|
cmake \
|
||||||
curl \
|
curl \
|
||||||
diffutils \
|
diffutils \
|
||||||
|
dnsmasq \
|
||||||
flex-dev \
|
flex-dev \
|
||||||
musl-fts-dev \
|
musl-fts-dev \
|
||||||
g++ \
|
g++ \
|
||||||
|
|
|
@ -12,6 +12,7 @@ RUN apt-get update && apt-get -y install \
|
||||||
ccache \
|
ccache \
|
||||||
cmake \
|
cmake \
|
||||||
curl \
|
curl \
|
||||||
|
dnsmasq \
|
||||||
flex \
|
flex \
|
||||||
g++ \
|
g++ \
|
||||||
gcc \
|
gcc \
|
||||||
|
|
|
@ -9,6 +9,7 @@ RUN dnf -y install \
|
||||||
ccache \
|
ccache \
|
||||||
cmake \
|
cmake \
|
||||||
diffutils \
|
diffutils \
|
||||||
|
dnsmasq \
|
||||||
flex \
|
flex \
|
||||||
gcc \
|
gcc \
|
||||||
gcc-c++ \
|
gcc-c++ \
|
||||||
|
|
|
@ -6,7 +6,7 @@ set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
env ASSUME_ALWAYS_YES=YES pkg bootstrap
|
env ASSUME_ALWAYS_YES=YES pkg bootstrap
|
||||||
pkg install -y bash git cmake swig bison python3 base64 flex ccache jq
|
pkg install -y bash git cmake swig bison python3 base64 flex ccache jq dnsmasq
|
||||||
pkg upgrade -y curl
|
pkg upgrade -y curl
|
||||||
pyver=$(python3 -c 'import sys; print(f"py{sys.version_info[0]}{sys.version_info[1]}")')
|
pyver=$(python3 -c 'import sys; print(f"py{sys.version_info[0]}{sys.version_info[1]}")')
|
||||||
pkg install -y $pyver-sqlite3
|
pkg install -y $pyver-sqlite3
|
||||||
|
@ -17,3 +17,6 @@ python -m pip install websockets junit2html
|
||||||
# Spicy detects whether it is run from build directory via `/proc`.
|
# Spicy detects whether it is run from build directory via `/proc`.
|
||||||
echo "proc /proc procfs rw,noauto 0 0" >>/etc/fstab
|
echo "proc /proc procfs rw,noauto 0 0" >>/etc/fstab
|
||||||
mount /proc
|
mount /proc
|
||||||
|
|
||||||
|
# dnsmasq is in /usr/local/sbin and that's not in the PATH by default
|
||||||
|
ln -s /usr/local/sbin/dnsmasq /usr/local/bin/dnsmasq
|
||||||
|
|
|
@ -7,7 +7,7 @@ set -x
|
||||||
|
|
||||||
brew update
|
brew update
|
||||||
brew upgrade cmake
|
brew upgrade cmake
|
||||||
brew install openssl@3 swig bison flex ccache libmaxminddb
|
brew install openssl@3 swig bison flex ccache libmaxminddb dnsmasq
|
||||||
|
|
||||||
if [ $(sw_vers -productVersion | cut -d '.' -f 1) -lt 14 ]; then
|
if [ $(sw_vers -productVersion | cut -d '.' -f 1) -lt 14 ]; then
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
|
|
|
@ -11,6 +11,7 @@ RUN zypper addrepo https://download.opensuse.org/repositories/openSUSE:Leap:15.6
|
||||||
ccache \
|
ccache \
|
||||||
cmake \
|
cmake \
|
||||||
curl \
|
curl \
|
||||||
|
dnsmasq \
|
||||||
flex \
|
flex \
|
||||||
gcc12 \
|
gcc12 \
|
||||||
gcc12-c++ \
|
gcc12-c++ \
|
||||||
|
|
|
@ -16,6 +16,7 @@ RUN zypper refresh \
|
||||||
cmake \
|
cmake \
|
||||||
curl \
|
curl \
|
||||||
diffutils \
|
diffutils \
|
||||||
|
dnsmasq \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcc \
|
gcc \
|
||||||
|
|
|
@ -15,6 +15,7 @@ RUN apt-get update && apt-get -y install \
|
||||||
clang++-18 \
|
clang++-18 \
|
||||||
cmake \
|
cmake \
|
||||||
curl \
|
curl \
|
||||||
|
dnsmasq \
|
||||||
flex \
|
flex \
|
||||||
g++ \
|
g++ \
|
||||||
gcc \
|
gcc \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue