Skip to content

Commit

Permalink
pin RefinedRust version
Browse files Browse the repository at this point in the history
Signed-off-by: Lennard Gäher <l.gaeher@posteo.de>
  • Loading branch information
lgaeher committed Aug 9, 2024
1 parent fb42733 commit e607b6d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,10 @@ jobs:
run: opam switch create refinedrust-ace --packages=ocaml-variants.4.14.1+options,ocaml-option-flambda
- name: Install coq
run: eval $(opam env) && opam update && opam pin add coq 8.17.1 -y
#- name: Fix permissions
#run: chown -R 1000 .
- name: ls
run: ls -la .
- name: Install openssl dependency
run: sudo apt update && sudo apt install libssl-dev -y
- name: Pull RefinedRust
run: git clone https://gitlab.mpi-sws.org/lgaeher/refinedrust-dev.git verification/refinedrust
- name: Install rustup
run: curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | bash /dev/stdin "-y"
- name: Setup Rust toolchain
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "security-monitor/opensbi"]
path = security-monitor/opensbi
url = https://github.com/riscv-software-src/opensbi.git
[submodule "verification/refinedrust"]
path = verification/refinedrust
url = https://gitlab.mpi-sws.org/lgaeher/refinedrust-dev.git
1 change: 0 additions & 1 deletion verification/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ _opam
_build
log
rustc-ice-*
refinedrust
generated_code.bak
_CoqProject
1 change: 1 addition & 0 deletions verification/refinedrust
Submodule refinedrust added at 007237
5 changes: 1 addition & 4 deletions verification/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ This file documents the basic verification setup.
For using the RefinedRust toolchain and checking the verified parts of the code, you need to install both the Coq proof assistant and RefinedRust Coq libraries as well as the RefinedRust frontend.

First of all, open a terminal and navigate to the directory containing this file.
Then, clone the RefinedRust repository into a subdirectory:
```
git clone https://gitlab.mpi-sws.org/lgaeher/refinedrust-dev.git refinedrust
```
Make sure that there is a subdirectory called `refinedrust` that is up-to-date.

### Installing Coq and the RefinedRust Coq libraries

Expand Down

0 comments on commit e607b6d

Please sign in to comment.