Skip to content

Commit

Permalink
Run MIRAI on MIRAI during CI (facebookexperimental#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Herman Venter committed Dec 22, 2021
1 parent dbef703 commit c00e8d6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,31 @@ jobs:
uses: codecov/codecov-action@v1
with:
files: "lcov.info"

mirai_on_mirai:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2

- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
override: true
profile: minimal
components: clippy, rustc-dev, llvm-tools-preview

- name: Install Z3
run: |
cp binaries/libz3.dylib /usr/local/lib
cp include/*.h /usr/local/include
- name: Install MIRAI
uses: actions-rs/cargo@v1
with:
command: install
args: --path ./checker

- name: Run MIRAI on MIRAI
run: |
cargo mirai

0 comments on commit c00e8d6

Please sign in to comment.