Skip to content

Commit

Permalink
Use install-action to install valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 10, 2022
1 parent 9e595f7 commit 5913e3a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,7 @@ jobs:
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Install valgrind
run: |
sudo apt-get update -qq
# libc6-dbg is needed to run Valgrind
sudo apt-get install -y libc6-dbg
# Use snap to install the latest Valgrind
# https://snapcraft.io/install/valgrind/ubuntu
sudo snap install valgrind --classic
uses: taiki-e/install-action@valgrind
- run: cargo build --all --all-features --all-targets
if: startsWith(matrix.rust, 'nightly')
- run: cargo hack build --feature-powerset --no-dev-deps
Expand Down

0 comments on commit 5913e3a

Please sign in to comment.