Skip to content

Merge pull request #289 from artichoke/dev/lopopolo-bump #819

Merge pull request #289 from artichoke/dev/lopopolo-bump

Merge pull request #289 from artichoke/dev/lopopolo-bump #819

Workflow file for this run

---
name: Miri
"on":
push:
branches:
- trunk
pull_request:
branches:
- trunk
schedule:
- cron: "0 0 * * WED"
jobs:
miri:
name: Test with Miri
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
MIRIFLAGS: "-Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zrandomize-layout"
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
with:
toolchain: nightly
- name: Miri setup
run: cargo miri setup
- name: Miri test compile
run: cargo miri test --no-run
- name: Test unsafe code with Miri
run: cargo miri test --test leak_drop