summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pre-commit.yml')
-rw-r--r--.github/workflows/pre-commit.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 96a59069b..ff52606e3 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -34,4 +34,21 @@ jobs:
# Install Ceedling
gem install ceedling
cd test/unit-test
- ceedling test:all \ No newline at end of file
+ ceedling test:all
+
+ - name: Fetch deps
+ run: |
+ sudo apt update && sudo apt install libc++abi-dev libc++-dev
+ fuzz_harness=$(ls -d test/fuzz/device/*/ test/fuzz/host/*/)
+ for h in $fuzz_harness
+ do
+ make $h get-deps
+ done
+
+ - name: Build Fuzzer
+ run: |
+ fuzz_harness=$(ls -d test/fuzz/device/*/ test/fuzz/host/*/)
+ for h in $fuzz_harness
+ do
+ make $h all
+ done