Merge pull request #433 from nyx-space/fix-gh-432-duration-constructors #80
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Kani Formal Verification Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - "*" | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| formal-verif-build: | |
| name: Formal Verification | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Clean Cargo.toml for Kani | |
| run: | | |
| # Remove `cdylib` from targets in Cargo.toml because it confuses Kani | |
| sed '17d' Cargo.toml > Cargo.toml.new | |
| mv Cargo.toml.new Cargo.toml | |
| # Only ensure that Kani can build successfully | |
| - name: Kani Rust Verifier | |
| uses: model-checking/[email protected] | |
| with: | |
| args: --only-codegen |