Skip to content

Commit

Permalink
7
Browse files Browse the repository at this point in the history
  • Loading branch information
rol1510 committed Jan 17, 2024
1 parent 6f14393 commit 63c9d34
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build-fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,29 +33,33 @@ 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: |
mkdir -p corpus/test
# 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
#
Expand Down

0 comments on commit 63c9d34

Please sign in to comment.