Skip to content

Commit f725a88

Browse files
committed
ci: build all fuzz targets; run fuzz targets under cargo test
Now that we can run the fuzzers with `arbtest`, we use `cargo test --all-features` to run all of these for one second. This allows cleaning up the building of the fuzz targets themselves and the static set of smoke tests in `*.bin` for the old `ion_checker`.
1 parent 7944686 commit f725a88

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Build
2828
run: cargo build
2929
- name: Run tests
30-
run: cargo test --all --verbose
30+
run: cargo test --all --all-features --verbose
3131

3232
# Make sure the code typechecks with non-default features enabled.
3333
features:
@@ -72,11 +72,7 @@ jobs:
7272
run: rustup toolchain install nightly
7373
- name: Install cargo-fuzz
7474
run: cargo +nightly install cargo-fuzz
75-
- name: Build ssagen fuzzing target
76-
run: cargo +nightly fuzz build ssagen
77-
- name: Build moves fuzzing target
78-
run: cargo +nightly fuzz build moves
79-
- name: Build ion fuzzing target
80-
run: cargo +nightly fuzz build ion
81-
- name: Build and smoke-test ion_checker fuzzing target
82-
run: cargo +nightly fuzz run ion_checker ./fuzz/smoketest/ion_checker.bin
75+
- name: Build all fuzz targets
76+
run: cargo +nightly fuzz build
77+
# Note: all fuzzers are run with `arbtest` during `cargo test` with the
78+
# `fuzzing` feature enabled.

fuzz/smoketest/ion_checker.bin

-2.71 KB
Binary file not shown.

0 commit comments

Comments
 (0)