Fuzz image: do not install C++ compiler and make sure submodules are cloned

pull/828/head
Tpt 10 months ago committed by Thomas Tanon
parent a0cc75b7cc
commit 583d64e0c0
  1. 1
      .clusterfuzzlite/Dockerfile
  2. 2
      .clusterfuzzlite/build.sh

@ -1,5 +1,4 @@
FROM gcr.io/oss-fuzz-base/base-builder-rust:v1 FROM gcr.io/oss-fuzz-base/base-builder-rust:v1
RUN apt-get update && apt-get install -y llvm-dev libclang-dev clang && apt-get clean && rm --recursive --force /var/lib/apt/lists/*
COPY . $SRC/oxigraph COPY . $SRC/oxigraph
WORKDIR oxigraph WORKDIR oxigraph
COPY .clusterfuzzlite/build.sh $SRC/ COPY .clusterfuzzlite/build.sh $SRC/

@ -14,6 +14,8 @@ function build_seed_corpus() {
cd "$SRC"/oxigraph cd "$SRC"/oxigraph
git submodule init
git submodule update
cargo fuzz build -O --debug-assertions cargo fuzz build -O --debug-assertions
for TARGET in sparql_eval sparql_results_json sparql_results_tsv sparql_results_xml n3 nquads trig rdf_xml for TARGET in sparql_eval sparql_results_json sparql_results_tsv sparql_results_xml n3 nquads trig rdf_xml
do do

Loading…
Cancel
Save