move build Fuzzer into pre-commit
This commit is contained in:
19
.github/workflows/pre-commit.yml
vendored
19
.github/workflows/pre-commit.yml
vendored
@@ -34,4 +34,21 @@ jobs:
|
||||
# Install Ceedling
|
||||
gem install ceedling
|
||||
cd test/unit-test
|
||||
ceedling test:all
|
||||
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
|
||||
|
Reference in New Issue
Block a user