Skip to content

Commit

Permalink
Disable fuzz job
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhly committed Feb 26, 2022
1 parent 9c93edf commit db697fc
Showing 1 changed file with 32 additions and 31 deletions.
63 changes: 32 additions & 31 deletions .github/workflows/program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit db697fc

Please sign in to comment.