]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Fuzzit
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 17 May 2020 10:33:23 +0000 (12:33 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 17 May 2020 10:33:23 +0000 (12:33 +0200)
.github/workflows/fuzzit.yml

index b4fd5219df2a7d6add2e38dec9a2007e97ba08a1..d91bb1f44b1c09d4da70463418f7832b47e560b4 100644 (file)
@@ -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