Skip to content

Commit

Permalink
Merge pull request #179 from nyx-space/172-fix-formal-verification
Browse files Browse the repository at this point in the history
Fix formal verification
  • Loading branch information
ChristopherRabotin authored Dec 2, 2022
2 parents 9c99695 + e79cc01 commit 2e3b8ad
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/formal_verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,16 @@ jobs:
cargo install --locked kani-verifier
cargo-kani setup
- name: Run Kani
- name: Run Kani with and without reports
run: |
# Remove `cdylib` from targets in Cargo.toml because it confuses Kani
sed -i s/'"cdylib", "rlib"'/'"rlib"'/ Cargo.toml
cargo kani
sed '17d' Cargo.toml > Cargo.toml.new
mv Cargo.toml.new Cargo.toml
cargo kani # Shows the result in stdout
cargo kani --visualize
- name: Save formal verification artifacts
uses: actions/upload-artifact@v3
with:
name: formal-verification-report
path: target/report*/html/**/*

0 comments on commit 2e3b8ad

Please sign in to comment.