Skip to content

Commit

Permalink
.github: Add fuzzer builder
Browse files Browse the repository at this point in the history
  • Loading branch information
silvergasp committed Nov 10, 2022
1 parent aed0774 commit 115ce67
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build_fuzzers.yml
@@ -0,0 +1,33 @@
name: Build Fuzzer

on:
pull_request:
push:
release:
types:
- created

jobs:
# ---------------------------------------
# Build all no-family (orphaned) boards
# ---------------------------------------
build-board:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
fuzz_harness:
- "device/cdc"
- "device/msc"

steps:
- name: Setup Python
uses: actions/setup-python@v3

- name: Checkout TinyUSB
uses: actions/checkout@v3

- name: Fetch deps
run: sudo apt update && sudo apt install libc++abi-dev libc++-dev
- name: Build Fuzzer
run: make CC=clang CXX=clang++ -C fuzz/${{ matrix.fuzz_harness }}

0 comments on commit 115ce67

Please sign in to comment.