Skip to content

Commit

Permalink
ci: run miri
Browse files Browse the repository at this point in the history
  • Loading branch information
phip1611 committed Dec 17, 2024
1 parent 341651d commit 3085d6d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,20 @@ jobs:

- run: cargo run --release --example mp3-samples

miri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: miri
- uses: Swatinem/rust-cache@v2
- name: Install required Linux packages for "audio-visualizer"/cpal/minifb
run: sudo apt update && sudo apt -y install libasound2-dev libxkbcommon-dev
- run: cargo miri test --all-features

style_checks:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 3085d6d

Please sign in to comment.