Skip to content

Commit 3714496

Browse files
authored
chore(ci): add miri workflow (#581)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
1 parent 7ee503c commit 3714496

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/miri.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: miri
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# Run at 6:30 AM UTC every Wednesday
7+
- cron: "30 6 * * 3"
8+
9+
jobs:
10+
miri-test:
11+
name: miri (nightly)
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
- uses: ./.github/actions/toolchains/rust
17+
with:
18+
toolchain: nightly
19+
components: miri rust-src
20+
- name: Set up Miri
21+
run: cargo miri setup
22+
- name: Run Miri tests
23+
run: cargo miri test -p regorus
24+
- name: Run Miri ACI tests
25+
run: cargo miri test -p regorus --test aci
26+
- name: Run Miri kata tests
27+
run: cargo miri test -p regorus --test kata

0 commit comments

Comments
 (0)