travis: make sure that the fuzz targets can be built on OSS-Fuzz

This commit is contained in:
Evgeny Vereshchagin 2019-05-05 22:15:28 +00:00
parent 9337418565
commit fcbabd0f90
1 changed files with 6 additions and 0 deletions

View File

@ -8,3 +8,9 @@ wget https://app.fuzzbuzz.io/releases/cli/latest/linux/fuzzbuzz
chmod +x fuzzbuzz
./fuzzbuzz validate
./fuzzbuzz target test fuzz-unit-file --all
git clone https://github.com/google/oss-fuzz /tmp/oss-fuzz
cd /tmp/oss-fuzz
sudo ./infra/helper.py pull_images
sudo ./infra/helper.py build_fuzzers --clean --sanitizer=memory systemd $REPO_ROOT
sudo ./infra/helper.py check_build --sanitizer=memory systemd