Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin RefinedRust to a specific version #70

Merged
merged 4 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading