Skip to content

Commit

Permalink
Fuzzing: initial build and fuzz workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgeana committed Oct 31, 2023
1 parent 9bb5853 commit 3ab8d10
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build_and_fuzz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Fuzz

on: [push, pull_request]

jobs:
fuzz_msan:
name: fuzz with MemorySanitizer
runs-on: ubuntu-latest
container: ghcr.io/yubico/yubihsm-shell/fuzzing-msan:latest

steps:

- name: clone the Yubico/yubihsm-shell repository
uses: actions/checkout@v3
with:
path: yubihsm-shell

- name: do build
working-directory: yubihsm-shell
run: |
cmake \
-DFUZZING=ON \
-DFUZZING_MSAN=ON \
-DWITHOUT_MANPAGES=ON \
-DDISABLE_LTO=ON \
-DENABLE_STATIC=ON \
-B build-msan
cmake --build build-msan

0 comments on commit 3ab8d10

Please sign in to comment.