From 68b998ee192539e5bec935ba2acd9584aa4011fc Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Thu, 11 Apr 2024 15:35:58 -0700 Subject: [PATCH] Enable non-default features during fuzz, to ensure they're included --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 48c4550d..1d941d4b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -98,13 +98,13 @@ jobs: uses: actions-rs/cargo@v1 with: command: fuzz - args: build fuzz_read + args: build --all-features fuzz_read - name: run fuzz timeout-minutes: 330 uses: actions-rs/cargo@v1 with: command: fuzz - args: run fuzz_read -- fuzz/corpus/seed -timeout=10s -fork=2 -runs=50000000 -max_len=1300 -len_control=0 -dict=fuzz/fuzz.dict + args: run --all-features fuzz_read -- fuzz/corpus/seed -timeout=10s -fork=2 -runs=50000000 -max_len=1300 -len_control=0 -dict=fuzz/fuzz.dict - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v4 @@ -117,7 +117,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: fuzz - args: cmin --no-default-features fuzz_read -- fuzz/corpus/seed + args: cmin --all-features fuzz_read -- fuzz/corpus/seed - name: Upload updated seed corpus if: always() uses: actions/upload-artifact@v4 @@ -188,13 +188,13 @@ jobs: uses: actions-rs/cargo@v1 with: command: fuzz - args: build fuzz_write + args: build --all-features fuzz_write - name: run fuzz timeout-minutes: 331 uses: actions-rs/cargo@v1 with: command: fuzz - args: run fuzz_write -- -timeout=10s -fork=2 -runs=10000000 -max_len=1100 -len_control=200 -dict=fuzz/fuzz.dict + args: run --all-features fuzz_write -- -timeout=10s -fork=2 -runs=10000000 -max_len=1100 -len_control=200 -dict=fuzz/fuzz.dict - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v4 @@ -207,7 +207,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: fuzz - args: cmin fuzz_write -- fuzz/corpus/seed + args: cmin --all-features fuzz_write -- fuzz/corpus/seed - name: Upload updated seed corpus if: always() uses: actions/upload-artifact@v4