Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
rol1510 committed Jan 17, 2024
1 parent 63c9d34 commit 82d40bf
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build-fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,33 @@ jobs:
- name: build
run: ninja -C build

# - name: mkdir
# run: mkdir -p corpus/test

- name: load corpus
uses: actions/download-artifact@v3
- name: setup cache
id: cache-corpus
uses: actions/cache@v4
with:
name: fuzz-corpus-test
path: corpus
key: fuzz-corpus

- name: unpack corpus
run: |
ls .
tar -xJf corpus.tar.xz
# - 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: package corpus
# run: tar -cJf corpus.tar.xz corpus/*

# - name: save corpus
# uses: actions/upload-artifact@v3
# with:
# name: fuzz-corpus-test
# path: corpus.tar.xz

- name: save corpus
uses: actions/upload-artifact@v3
with:
name: fuzz-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 82d40bf

Please sign in to comment.