mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 03:17:56 +00:00
Fix AFL build for fuzzing run (#323)
* fix fuzzer run * add manual dispatch
This commit is contained in:
@@ -4,6 +4,7 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
# Runs at 00:00 UTC every Sunday
|
# Runs at 00:00 UTC every Sunday
|
||||||
- cron: '0 0 * * 0'
|
- cron: '0 0 * * 0'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generic-template-fuzzer:
|
generic-template-fuzzer:
|
||||||
@@ -18,14 +19,15 @@ jobs:
|
|||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
|
||||||
|
- name: Add target
|
||||||
|
run: rustup target add wasm32-unknown-unknown
|
||||||
|
|
||||||
- name: Add dependencies
|
- name: Add dependencies
|
||||||
run: cargo install ziggy cargo-afl honggfuzz grcov
|
run: cargo install ziggy cargo-afl honggfuzz grcov
|
||||||
|
|
||||||
- name: Build AFL config
|
- name: Build AFL config
|
||||||
run: cargo afl config --build
|
run: cargo afl config --build
|
||||||
|
working-directory: generic-template/template-fuzzer
|
||||||
- name: Add target
|
|
||||||
run: rustup target add wasm32-unknown-unknown
|
|
||||||
|
|
||||||
- name: Run Ziggy Fuzzing
|
- name: Run Ziggy Fuzzing
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user