Skip to content

Merge pull request #654 from Lastique/patch-1 #197

Merge pull request #654 from Lastique/patch-1

Merge pull request #654 from Lastique/patch-1 #197

Workflow file for this run

# This will verify that the fuzzer builds but will not run it
name: Fuzzer build check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
fuzz:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install clang
run: sudo apt install clang
- name: Configure with fuzzing
run: CC=clang CXX=clang++ CXXFLAGS="-fsanitize=fuzzer-no-link,address,undefined -g -O3" CFLAGS="-fsanitize=fuzzer-no-link,address,undefined -g -O3" LDFLAGS="-fsanitize=fuzzer-no-link,address,undefined" ./configure
- name: Build
run: LIBFUZZER="-fsanitize=fuzzer" make srtp-fuzzer