Skip to content

Commit

Permalink
awd
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxyUwU committed Mar 24, 2022
1 parent 84b9aa8 commit 99a517b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,33 @@ jobs:
# See tools/ci/src/main.rs for the commands this runs
run: cargo run -p ci -- nonlocal

miri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-ci-${{ hashFiles('**/Cargo.toml') }}
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: miri
override: true
- name: Install alsa and udev
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
- name: CI job
# See tools/ci/src/main.rs for the commands this runs
run: cargo miri test -p bevy_ecs
env:
RUSTFLAGS: -Zrandomize-layout
MIRIFLAGS: -Zmiri-disable-isolation -Zmiri-ignore-leaks -Zmiri-tag-raw-pointers

check-benches:
runs-on: ubuntu-latest
needs: ci
Expand Down

0 comments on commit 99a517b

Please sign in to comment.