diff options
| author | hathach <[email protected]> | 2022-12-08 11:31:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-08 11:31:39 +0700 |
| commit | bf8f4f95211c286d1ff1def3f140e1e304e76b4d (patch) | |
| tree | e43598d9befd114f2c232c272530054eaf2e08f2 /.github/workflows/pre-commit.yml | |
| parent | 86a3315bcf981642b05c9d8388647cbe90a21251 (diff) | |
move build Fuzzer into pre-commit
Diffstat (limited to '.github/workflows/pre-commit.yml')
| -rw-r--r-- | .github/workflows/pre-commit.yml | 19 |
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 |
