aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 589ccbe..66c9075 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -67,3 +67,24 @@ jobs:
run: |
cd lib/xixanta
cargo +nightly fuzz run fuzz_target_2 -- -max_total_time=180
+
+ fuzz_header:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Update rust toolchain to nightly
+ run: |
+ rustup update nightly
+ rustup default nightly
+
+ - name: Install cargo fuzz
+ run: cargo install cargo-fuzz
+
+ - name: Build with nightly
+ run: cargo build --verbose
+
+ - name: Fuzzy test the header parser
+ run: |
+ cd lib/header
+ cargo +nightly fuzz run fuzz_target_header -- -max_total_time=180