Skip to content

Commit

Permalink
ci: Add valgrind memcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Aug 3, 2021
1 parent c4ca285 commit d67c09a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,22 @@ jobs:
- upload_coverage:
flags: unittests

gcc-latest-memcheck:
executor: linux-gcc-latest
environment:
BUILD_TYPE: Debug
CMAKE_OPTIONS: -DCMAKE_CXX_FLAGS=-O1
steps:
- build
- test
- run:
name: "Install valgrind"
command: sudo apt-get -q update && sudo apt-get -qy install --no-install-recommends valgrind
- run:
name: "memcheck"
working_directory: ~/build
command: valgrind --vgdb=no --error-exitcode=99 bin/evmone-unittests

gcc-32bit:
docker:
- image: ethereum/cpp-build-env:15-gcc-10-multilib
Expand Down Expand Up @@ -370,6 +386,7 @@ workflows:
- consensus-tests
- gcc-min
- gcc-latest-coverage
- gcc-latest-memcheck
- clang-latest-ubsan
- clang-latest-coverage
- macos-asan
Expand Down

0 comments on commit d67c09a

Please sign in to comment.