From: Jérémie Astor Date: Sun, 17 May 2020 10:33:23 +0000 (+0200) Subject: :wrench: Fuzzit X-Git-Tag: nightly~1552 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=9a0457f6d300813c905c57b47f99db6d39620214;p=gwion.git :wrench: Fuzzit --- diff --git a/.github/workflows/fuzzit.yml b/.github/workflows/fuzzit.yml index b4fd5219..d91bb1f4 100644 --- a/.github/workflows/fuzzit.yml +++ b/.github/workflows/fuzzit.yml @@ -13,16 +13,16 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: + - uses: actions/checkout@v2 + - name: Build Gwion - uses: fennecdjay/gwion-action@v1 - with: - dir: . - ref: ${{ github.sha }} + run: | + git submodule update --init ast util + make util/libgwion_util.a ast/libgwion_ast.a libgwion.a env: CC: clang - CFLAGS: -fsanitize-coverage=trace-pc-guard - LDFLAGS: -fsanitize-coverage=trace-pc-guard - AR: llvm-ar + CFLAGS: -fsanitize=fuzzer + LDFLAGS: -fsanitize=fuzzer - name: Build fuzzer run: ${CC} -fsanitize=fuzzer -Iutil/include -Iast/include -Iinclude -fsanitize=fuzzer scripts/fuzzer.c libgwion.a util/libgwion_util.a ast/libgwion_ast.a -o fuzzer