-
Notifications
You must be signed in to change notification settings - Fork 22
42 lines (34 loc) · 1.06 KB
/
generic-weekly-fuzzer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Generic Template Fuzzer (Weekly run)
on:
schedule:
# Runs at 00:00 UTC every Sunday
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
generic-template-fuzzer:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Add target
run: rustup target add wasm32-unknown-unknown
- name: Add dependencies
run: cargo install ziggy cargo-afl honggfuzz grcov
- name: Build AFL config
run: cargo afl config --build
working-directory: generic-template/template-fuzzer
- name: Run Ziggy Fuzzing
run: |
timeout 5h cargo ziggy fuzz -t 20 || true
working-directory: generic-template/template-fuzzer
- name: Save Artifacts
uses: actions/upload-artifact@v4
with:
name: fuzzing-artifacts
path: |
generic-template/template-fuzzer/output