From 9e3d257098cd431686f0b9da00afde461a512b1e Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 8 Jul 2022 02:46:39 +0900 Subject: [PATCH] Run Miri on CI --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39ea0ad..123afd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,6 +59,17 @@ jobs: run: rustup update stable - run: cargo fmt --all --check + miri: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Rust + run: rustup toolchain install nightly --component miri && rustup default nightly + - run: cargo miri test + env: + MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation + RUSTFLAGS: ${{ env.RUSTFLAGS }} -Z randomize-layout + security_audit: runs-on: ubuntu-latest steps: