Skip to content

Commit

Permalink
ci: Test that cargo creusot new creates a compilable project
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysxia committed Nov 29, 2024
1 parent 5290229 commit c80ddff
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,14 @@ jobs:
cat ~/.config/creusot/why3.conf
- run: cargo test --test why3 "" -- --replay=none --diff-from=origin/master
- run: cargo test --test why3 "" -- --skip-unstable
- name: test cargo creusot new
# TODO: Figure out how to install creusot without rebuilding it
# For now, we use the executables in target/
run: |
echo /home/runner/work/creusot/creusot/target/debug >> $GITHUB_PATH
cd ..
cargo creusot new test-project --main --creusot-contracts ../creusot/creusot-contracts
cd test-project
cargo build
cargo creusot
cargo creusot prove

0 comments on commit c80ddff

Please sign in to comment.