Skip to content

Commit 1be3d0e

Browse files
committed
Add verus CI
1 parent d2dae85 commit 1be3d0e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/verus.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: verus
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
verus:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Install Rust toolchain
18+
run: |
19+
rustup install 1.94.0-x86_64-unknown-linux-gnu
20+
21+
- name: Get the URL for the latest Verus release
22+
id: verus-release-info
23+
run: |
24+
jq --version
25+
echo "VERUS_URL=$(curl -s https://api.github.com/repos/verus-lang/verus/releases/latest | jq -r '.assets[].browser_download_url' | grep x86-linux -)" >> $GITHUB_OUTPUT
26+
27+
- name: Download the latest Verus release
28+
run: |
29+
curl --proto '=https' --tlsv1.2 -LsSf ${{ steps.verus-release-info.outputs.VERUS_URL }} -o verus.zip; unzip verus.zip
30+
31+
- name: run Verus
32+
working-directory:
33+
run: |
34+
verus-x86-linux/verus --crate-type=lib --rlimit 100 --cfg feature="impl" --cfg feature="hlspec_user" page-table/src/lib.rs

0 commit comments

Comments
 (0)