From 9a0457f6d300813c905c57b47f99db6d39620214 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 17 May 2020 12:33:23 +0200 Subject: [PATCH] :wrench: Fuzzit --- .github/workflows/fuzzit.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- 2.43.0