Skip to content

Make CI fuzzing a container task #64

Make CI fuzzing a container task

Make CI fuzzing a container task #64

Workflow file for this run

name: Fuzz Parser
on:
push:
paths:
- src/scanner.c
- .github/workflows/fuzz.yaml
- fuzzer/
pull_request:
paths:
- src/scanner.c
- .github/workflows/fuzz.yaml
- fuzzer/
workflow_dispatch:
env:
RUST_BACKTRACE: 1
CI: 1
jobs:
test:
name: Parser fuzzing
runs-on: ubuntu-latest
timeout-minutes: 25
# Run in a container because we had some issues reproducing failures
container:
image: debian:bookworm
steps:
- uses: actions/checkout@v4
- run: |
apt update
apt install -y clang
- run: just setup
- run: just fuzz
- name: Print failures
if: always()
run: ls fuzzer/failures/* |
xargs -IFNAME sh -c 'echo "\nContents of FNAME:" && base64 -i FNAME'