From eaccda8d523e8550952e2d3764ff4990a2215ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 14 Jun 2022 18:35:10 +0200 Subject: [PATCH] ci: Cache fuzzing corpus --- circle.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index bcec6471f1..3b5867f024 100644 --- a/circle.yml +++ b/circle.yml @@ -411,12 +411,19 @@ jobs: CMAKE_OPTIONS: -DEVMONE_FUZZING=ON steps: - build + - restore_cache: + name: "Restore fuzzing corpus" + key: &fuzzing-corpus corpus-v1 - run: name: "Run evmone-fuzzer" working_directory: ~/build command: | bin/evmone-fuzzer -runs=10000000 -fork=$CMAKE_BUILD_PARALLEL_LEVEL -fork_corpus_groups=1 ~/corpus -create_missing_dirs=1 -max_len=100 -entropic_scale_per_exec_time=1 2>&1 | sed '/NEW_FUNC/d' - + - save_cache: + name: "Save fuzzing corpus" + key: *fuzzing-corpus + paths: + - ~/corpus macos-asan: executor: macos