diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d78baac..33b6d61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,13 +120,16 @@ jobs: tool: cargo-fuzz - name: Build fuzz targets working-directory: fuzz - run: cargo +nightly fuzz build + # Pin to the gnu target — cargo-fuzz defaults to musl for ASAN + # static linking, but the nightly toolchain we install doesn't + # ship a musl std. + run: cargo +nightly fuzz build --target x86_64-unknown-linux-gnu - name: Smoke-run every target working-directory: fuzz run: | for target in parse_command parse_radio_config cobs_decoder_feed cobs_roundtrip command_roundtrip cobs_decoder_multi_frame cobs_chunk_invariant; do echo "── $target ──" - cargo +nightly fuzz run "$target" -- -max_total_time=60 + cargo +nightly fuzz run "$target" --target x86_64-unknown-linux-gnu -- -max_total_time=60 done mutants: