Skip to content

Support more types related to isize/usize #238

Support more types related to isize/usize

Support more types related to isize/usize #238

Workflow file for this run

on: [push, pull_request]
name: Valgrind Memory Check
jobs:
valgrind:
name: Memory Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
# - name: Install valgrind
# run: sudo apt install -y valgrind
- name: Install valgrind
run: |
sudo apt update && sudo apt install -y libclang-dev libc6-dbg \
&& wget -O valgrind.tar.bz2 https://sourceware.org/pub/valgrind/valgrind-3.19.0.tar.bz2 \
&& mkdir valgrind && tar -xvjf valgrind.tar.bz2 -C valgrind --strip-components=1 \
&& cd valgrind && ./configure && make && sudo make install
- name: Run cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: "--example containers --features 'anyhow backtrace chrono uuid'"
- name: Run valgrind
run: valgrind --error-exitcode=1 --leak-check=full ./target/debug/examples/containers