Skip to content

Commit

Permalink
add CI tests of MIRI
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Sep 4, 2023
1 parent 60b67de commit 53f84df
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/miri.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
pull_request:

test_miri:
name: Test (Miri)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: miri
- uses: actions-rs/cargo@v1
with:
command: miri
args: test miri
2 changes: 1 addition & 1 deletion src/sys/tskbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn is_send_sync<T: Send + Sync>(t: &T) {}
// work accross FFI.

#[test]
fn test() {
fn test_miri() {
struct X {
data: i32,
}
Expand Down

0 comments on commit 53f84df

Please sign in to comment.