Skip to content

Commit

Permalink
Pin RefinedRust to a specific version (#70)
Browse files Browse the repository at this point in the history
* pin RefinedRust version
---------

Signed-off-by: Lennard Gäher <l.gaeher@posteo.de>
Co-authored-by: Wojciech Ozga <woz@zurich.ibm.com>
  • Loading branch information
lgaeher and wojciechozga authored Aug 12, 2024
1 parent fb42733 commit ceccd81
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
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
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ BR2_PER_PACKAGE_DIRECTORIES=y
BR2_VERBOSE=0


BR2_PACKAGE_NVME=y
BR2_PACKAGE_NVME=y
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 ceccd81

Please sign in to comment.