Skip to content

update runner to Focal #50

update runner to Focal

update runner to Focal #50

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
runs-on: ubuntu-20.04
env:
CC: gcc
steps:
- run: |
sudo apt-get update && sudo apt-get install \
autoconf \
automake \
bison \
debhelper \
debian-keyring \
default-jdk \
devscripts \
flex \
gcc \
libcurl4-openssl-dev \
libhiredis-dev \
libltdl-dev \
libmongoc-dev \
libmysqlclient-dev \
libpq-dev \
libssl-dev \
libtool \
libvarnishapi-dev \
libyajl-dev \
lsb-release \
make \
pkg-config \
python2-dev \
python3-dev
- uses: actions/checkout@v2
with:
submodules: true
- name: autoconf
run: |
sh clean.sh
sh build.sh
autoreconf -vif
- run: |
./configure --build --disable-all-plugins \
--disable-static \
--disable-perl --without-libperl --without-perl-bindings \
--enable-cpu \
--enable-df \
--enable-disk \
--enable-load \
--enable-logfile \
--enable-logging-metrics \
--enable-memory \
--enable-swap \
--enable-syslog \
--enable-interface \
--enable-tcpconns \
--enable-write_http \
--enable-aggregation \
--enable-conntrack \
--enable-csv \
--enable-nginx \
--enable-apache \
--enable-memcached \
--enable-mysql \
--enable-protocols \
--enable-postgresql \
--enable-plugin_mem \
--enable-processes \
--enable-python \
--enable-python3 \
--enable-ntpd \
--enable-nfs \
--enable-zookeeper \
--enable-stackdriver_agent \
--enable-exec \
--enable-tail \
--enable-statsd \
--enable-network \
--enable-match_regex --enable-target_set \
--enable-target_replace --enable-target_scale \
--enable-match_throttle_metadata_keys \
--enable-write_log \
--enable-unixsock \
--enable-java --with-java=/usr/lib/jvm/default-java \
--enable-redis --with-libhiredis \
--enable-curl \
--enable-curl_json \
--enable-mongodb \
--enable-varnish \
--enable-write_gcm \
--enable-debug
# VERBOSE=1 dumps the contents of the test suites logs to standard output.
# -fsanitize=address enables https:/google/sanitizers/wiki/AddressSanitizer
# -ldl works around a dlsym error when tsan is enabled in this environment.
- run: make check VERBOSE=1 CFLAGS=-fsanitize=address LDFLAGS="-ldl -fsanitize=address"
- run: make distcheck