Remove fuzzit integration

wasmtime is covered by oss-fuzz which should cover large swaths of
cranelift as well, so let's remove that from CI and add it back later if
it's necessary.
This commit is contained in:
Alex Crichton
2020-02-25 11:20:36 -08:00
parent 3e2cdc3ded
commit 435735d13c
2 changed files with 0 additions and 61 deletions

View File

@@ -25,26 +25,3 @@ jobs:
run: rustup update stable && rustup default stable
- run: cargo build
- run: ci/ensure_deterministic_build.sh
fuzz:
name: Fuzz Regression
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Rust
run: rustup update nightly && rustup default nightly
- run: cargo install cargo-fuzz
- run: ci/fuzzit.sh local-regression
fuzz_push:
name: Fuzz (push)
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v1
- name: Install Rust
run: rustup update nightly && rustup default nightly
- run: cargo install cargo-fuzz
- run: ci/fuzzit.sh fuzzing
env:
FUZZIT_API_KEY: ${{ secrets.FUZZIT_API_KEY }}

View File

@@ -1,38 +0,0 @@
#!/bin/bash
set -xe
# Validate arguments
if [ "$#" -ne 1 ]; then
cat << EOF
Usage: $0 <type>
Types are:
local-regression - Run corpus and past crashes locally to catch regressions.
fuzzing - Submit for long run fuzzing on Fuzzit.
EOF
exit 1
fi
# Configure
set -xe
NAME=cranelift
TYPE=$1
FUZZIT_VERSION=2.4.46
# Setup
if [[ ! -f fuzzit || ! `./fuzzit --version` =~ $FUZZIT_VERSION$ ]]; then
wget -q -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/v$FUZZIT_VERSION/fuzzit_Linux_x86_64
chmod a+x fuzzit
fi
./fuzzit --version
# Fuzz
function fuzz {
FUZZER=$1
TARGET=$2
cargo fuzz run $FUZZER -- -runs=0
./fuzzit --version
./fuzzit create job --type $TYPE $NAME/$TARGET ./fuzz/target/x86_64-unknown-linux-gnu/debug/$FUZZER
}
fuzz fuzz_translate_module translate-module
fuzz fuzz_reader_parse_test reader-parse