From 63c9d34ab2c70b975876b82203537448cbdd0c22 Mon Sep 17 00:00:00 2001 From: Roland Strasser Date: Wed, 17 Jan 2024 20:43:46 +0100 Subject: [PATCH] 7 --- .github/workflows/build-fuzzer.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-fuzzer.yml b/.github/workflows/build-fuzzer.yml index e9983ead4e..51a3a8e633 100644 --- a/.github/workflows/build-fuzzer.yml +++ b/.github/workflows/build-fuzzer.yml @@ -33,17 +33,18 @@ jobs: - name: build run: ninja -C build - - name: mkdir - run: mkdir -p corpus/test + # - name: mkdir + # run: mkdir -p corpus/test - name: load corpus uses: actions/download-artifact@v3 with: name: fuzz-corpus-test - path: corpus/test - - name: foo - run: ls -R corpus/ + - name: unpack corpus + run: | + ls . + tar -xJf corpus.tar.xz - name: run run: | @@ -51,11 +52,14 @@ jobs: # for FILE in build/fuzz/quick-lint-js-fuzz-*; do echo running: $FILE; $FILE fuzz-tmp -runs=100 || exit 1; done ./build/fuzz/quick-lint-js-fuzz-lex corpus/test -max_total_time=5 -verbosity=0 + - name: package corpus + run: tar -cJf corpus.tar.xz corpus/* + - name: save corpus uses: actions/upload-artifact@v3 with: name: fuzz-corpus-test - path: corpus/test + path: corpus.tar.xz # quick-lint-js finds bugs in JavaScript programs. # Copyright (C) 2020 Matthew Glazar #