diff options
| author | Nathaniel Brough <[email protected]> | 2022-12-28 20:37:12 +0000 |
|---|---|---|
| committer | Nathaniel Brough <[email protected]> | 2022-12-28 21:07:29 +0000 |
| commit | 1dcffc655d8b42a850c8cd16cdf66caab1c9549d (patch) | |
| tree | abd34a83b267b5fe3c181f1e154fa21de4063fa7 /.github/workflows | |
| parent | 549bee94add9d8f1c346bfa0fa6b25481db3f191 (diff) | |
fix(fuzz): Make sanitizer flags optional
Currently OSS fuzz expects to have complete control over the
sanitizer flags. As we currently have these set it's causing
problems with the OSS fuzz build. Instead we should use the
provided variables from the OSS fuzz build environment. For
local testing we'll create a set a well defined defaults.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/pre-commit.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 8a1101ac0..d2150d13f 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -38,6 +38,8 @@ jobs: - name: Build Fuzzer run: | + export CC=clang + export CXX=clang++ fuzz_harness=$(ls -d test/fuzz/device/*/) for h in $fuzz_harness do |
