oss-fuzz: handle dependencies

Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2022-06-09 18:14:13 +02:00 committed by Christian Brauner (Microsoft)
parent 9fec9fef72
commit 0196c4df71
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2

View File

@ -24,6 +24,15 @@ mkdir -p $OUT
export LIB_FUZZING_ENGINE=${LIB_FUZZING_ENGINE:--fsanitize=fuzzer}
apt-get update -qq
apt-get install --yes --no-install-recommends \
build-essential docbook2x doxygen git \
wget xz-utils systemd-coredump pkgconf
apt-get remove --yes lxc-utils liblxc-common liblxc1 liblxc-dev
# make sure we have a new enough meson version
pip3 install meson ninja
# Sanitized build
meson setup san_build \
-Dprefix=/usr \