Sha256: f82cf7c67f1645a113c7fe1cbbac9172fb210c4b324107436781d2082913df4a

Contents?: true

Size: 589 Bytes

Versions: 1

Compression:

Stored size: 589 Bytes

Contents

#!/bin/bash

set -ex

# Clone the oss-fuzz repository
git clone https://github.com/google/oss-fuzz.git /tmp/ossfuzz

if [[ ! -d /tmp/ossfuzz/projects/lz4 ]]
then
    echo "Could not find the lz4 project in ossfuzz"
    exit 1
fi

# Modify the oss-fuzz Dockerfile so that we're checking out the current branch on travis.
sed -i "s@https://github.com/lz4/lz4.git@-b $TRAVIS_BRANCH https://github.com/lz4/lz4.git@" /tmp/ossfuzz/projects/lz4/Dockerfile

# Try and build the fuzzers
pushd /tmp/ossfuzz
python infra/helper.py build_image --pull lz4
python infra/helper.py build_fuzzers lz4
popd

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
extlz4-0.3.1 contrib/lz4/ossfuzz/travisoss.sh