diff --git a/cranelift/.github/workflows/main.yml b/cranelift/.github/workflows/main.yml index 529c16f2c3..4048f4772a 100644 --- a/cranelift/.github/workflows/main.yml +++ b/cranelift/.github/workflows/main.yml @@ -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 }} diff --git a/cranelift/ci/fuzzit.sh b/cranelift/ci/fuzzit.sh deleted file mode 100755 index c08fb3c64e..0000000000 --- a/cranelift/ci/fuzzit.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -set -xe - -# Validate arguments -if [ "$#" -ne 1 ]; then - cat << EOF -Usage: $0 - -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