From db697fcf49f2d78113fa275dd96594d3ff128d3b Mon Sep 17 00:00:00 2001 From: michaelhly Date: Sat, 26 Feb 2022 00:00:53 -0800 Subject: [PATCH] Disable fuzz job --- .github/workflows/program.yml | 63 ++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/.github/workflows/program.yml b/.github/workflows/program.yml index 4bcafcea..4d79ba19 100644 --- a/.github/workflows/program.yml +++ b/.github/workflows/program.yml @@ -122,34 +122,35 @@ jobs: working-directory: stable-swap-program run: nix shell ../#ci --command ./do.sh e2e-test - fuzz: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - # Install Rust - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - override: true - profile: minimal - toolchain: nightly-2022-02-01 - - name: Cache dependencies - uses: Swatinem/rust-cache@v1 - - # Install Cachix - - uses: cachix/install-nix-action@v16 - - name: Setup Cachix - uses: cachix/cachix-action@v10 - with: - name: saber - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - - - name: Build - run: nix shell .#ci --command cargo fuzz build --dev fuzz_test - env: - RUSTFLAGS: "-Znew-llvm-pass-manager=no" - - name: Run fuzz test - run: nix shell .#ci --command cargo fuzz run --dev fuzz_test -- -max_total_time=180 - env: - RUSTFLAGS: "-Znew-llvm-pass-manager=no" + ## FIXME(michael): ERROR: no interesting inputs were found. Is the code instrumented for coverage? Exiting. + ## fuzz: + ## runs-on: ubuntu-latest + + ## steps: + ## - uses: actions/checkout@v2 + ## # Install Rust + ## - name: Install Rust + ## uses: actions-rs/toolchain@v1 + ## with: + ## override: true + ## profile: minimal + ## toolchain: nightly-2022-02-01 + ## - name: Cache dependencies + ## uses: Swatinem/rust-cache@v1 + + ## # Install Cachix + ## - uses: cachix/install-nix-action@v16 + ## - name: Setup Cachix + ## uses: cachix/cachix-action@v10 + ## with: + ## name: saber + ## authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + + ## - name: Build + ## run: nix shell .#ci --command cargo fuzz build --dev fuzz_test + ## env: + ## RUSTFLAGS: "-Znew-llvm-pass-manager=no" + ## - name: Run fuzz test + ## run: nix shell .#ci --command cargo fuzz run --dev fuzz_test -- -max_total_time=180 + ## env: + ## RUSTFLAGS: "-Znew-llvm-pass-manager=no"