miri.yaml 685 B

12345678910111213141516171819202122232425262728293031
  1. on:
  2. push:
  3. branches:
  4. - main
  5. paths:
  6. - '**.rs'
  7. - '.github/workflows/miri.yml'
  8. workflow_dispatch:
  9. pull_request:
  10. paths:
  11. - '**.rs'
  12. - '.github/workflows/miri.yml'
  13. name: Miri
  14. jobs:
  15. tests:
  16. name: Miri tests
  17. runs-on: ubuntu-latest
  18. steps:
  19. - uses: actions/checkout@v2
  20. - name: Install nightly toolchain
  21. uses: actions-rs/toolchain@v1
  22. with:
  23. profile: minimal
  24. toolchain: nightly
  25. override: true
  26. components: miri
  27. - name: Run Miri tests
  28. run: cargo miri test --lib --no-fail-fast
  29. env:
  30. MIRIFLAGS: -Zmiri-disable-isolation -Zmiri-tag-raw-pointers