Skip to content

Commit

Permalink
Revert "CI: oss-fuzz: do build all the tests/benchmarks"
Browse files Browse the repository at this point in the history
AFLplusplus does not support `-help=1`.

This reverts commit dddfabf.
  • Loading branch information
LebedevRI committed Aug 25, 2023
1 parent 9031583 commit c5f251d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .ci/oss-fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,13 @@ ln -f -s /usr/bin/gold /usr/bin/ld
cmake \
-G"Unix Makefiles" -DBINARY_PACKAGE_BUILD=ON -DWITH_OPENMP=OFF \
-DWITH_PUGIXML=OFF -DUSE_XMLLINT=OFF -DWITH_JPEG=OFF -DWITH_ZLIB=OFF \
-DBUILD_TESTING=ON -DALLOW_DOWNLOADING_GOOGLETEST=ON \
-DBUILD_BENCHMARKING=ON -DALLOW_DOWNLOADING_GOOGLEBENCHMARK=ON \
-DBUILD_TOOLS=ON -DCMAKE_BUILD_TYPE=FUZZ -DBUILD_FUZZERS=ON \
-DBUILD_TESTING=OFF -DBUILD_TOOLS=OFF -DBUILD_BENCHMARKING=OFF \
-DCMAKE_BUILD_TYPE=FUZZ -DBUILD_FUZZERS=ON \
-DLIB_FUZZING_ENGINE:STRING="$LIB_FUZZING_ENGINE" \
-DCMAKE_INSTALL_PREFIX:PATH="$OUT" -DCMAKE_INSTALL_BINDIR:PATH="$OUT" \
"$SRC/librawspeed/"

make -j$(nproc) all && ctest -j$(nproc) && make -j$(nproc) install
make -j$(nproc) all && make -j$(nproc) install

cd "$SRC"
rm -rf "$WORK/build"

0 comments on commit c5f251d

Please sign in to comment.