Skip to content

Commit

Permalink
Remove the no-op valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Aug 18, 2023
1 parent 502b0b4 commit 40306f0
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/libp2p-rust-dht.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,39 +415,6 @@ jobs:
################################## UNSAFE CHECKS LEVEL #########################

valgrind:

needs: cache-level

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install protobuf compiler
run: |
sudo apt-get update
sudo apt-get install protobuf-compiler
- name: Install valgrind
run: |
sudo apt-get install valgrind
- name: Install cargo-valgrind
env:
VALGRIND_LINK: https://github.com/jfrimmel/cargo-valgrind/releases/download
VALGRIND_VERSION: 2.1.0
run: |
curl -L "$VALGRIND_LINK/v$VALGRIND_VERSION/cargo-valgrind-$VALGRIND_VERSION-x86_64-unknown-linux-musl.tar.gz" |
tar xz -C $HOME/.cargo/bin
# Usage of the `help` command as base command, please replace it
# with the effective command that valgrind has to analyze
- name: Run cargo-valgrind
run: |
cargo valgrind run -- --help
# cargo valgrind test
careful:

needs: cache-level
Expand Down

0 comments on commit 40306f0

Please sign in to comment.