Skip to content

Commit

Permalink
CI: Run miri using tree borrows in addition to the existing
Browse files Browse the repository at this point in the history
stacked borrows
  • Loading branch information
tatsuya6502 committed Aug 25, 2024
1 parent e854989 commit c5e5ba3
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/Miri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,18 @@ jobs:

- run: cargo miri setup

- name: Run Miri test (deque)
- name: Run Miri test on deque module using tree borrows
run: cargo miri test deque --features 'sync, future'
env:
MIRIFLAGS: '-Zmiri-tree-borrows'

- name: Run Miri test (timer_wheel)
- name: Run Miri test on timer_wheel module using tree borrows
run: cargo miri test timer_wheel --features 'sync, future'
env:
MIRIFLAGS: '-Zmiri-tree-borrows'

- name: Run Miri test on deque module using stacked borrows
run: cargo miri test deque --features 'sync, future'

- name: Run Miri test on timer_wheel module using stacked borrows
run: cargo miri test timer_wheel --features 'sync, future'

0 comments on commit c5e5ba3

Please sign in to comment.