Skip to content

Commit

Permalink
Merge branch 'fuzz-ci' into 'master'
Browse files Browse the repository at this point in the history
Add fuzzing to CI

See merge request bitcoin-cash-node/bitcoin-cash-node!524
  • Loading branch information
ftrader committed Jul 2, 2020
2 parents 5f3e006 + bc10e3b commit 6342f98
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitlab-ci.yml
Expand Up @@ -512,6 +512,20 @@ build-arm:
dependencies:
- build-arm-depends

fuzz-libfuzzer:
stage: test
extends: .debian-clang-env
needs: []
rules:
- if: $CI_COMMIT_BRANCH == "master"
script:
- git clone --branch master --single-branch --depth=1 https://gitlab.com/bitcoin-cash-node/bchn-sw/qa-assets
- mkdir buildFuzzer
- cd buildFuzzer
- cmake -GNinja .. -DCCACHE=OFF -DENABLE_SANITIZERS="fuzzer;address"
- ninja bitcoin-fuzzers link-fuzz-test_runner.py
- ./test/fuzz/test_runner.py -l DEBUG ../qa-assets/fuzz_seed_corpus/

## Deploy documentation
pages:
stage: deployment
Expand Down

0 comments on commit 6342f98

Please sign in to comment.