Add CI to build ossfuzz fuzzer binaries

This commit is contained in:
Bhargava Shastry
2019-04-03 10:27:05 +02:00
parent 1b7878cfde
commit 0d2566fa71
4 changed files with 59 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env sh
set -e
TEMPDIR="src"
cd /
mkdir -p $TEMPDIR
(
cd $TEMPDIR
git clone --depth 1 https://github.com/google/libprotobuf-mutator.git
mkdir -p LPM
cd LPM
cmake ../libprotobuf-mutator -GNinja -DLIB_PROTO_MUTATOR_DOWNLOAD_PROTOBUF=ON -DLIB_PROTO_MUTATOR_TESTING=OFF -DCMAKE_BUILD_TYPE=Release && ninja install
)