File tree Expand file tree Collapse file tree 5 files changed +42
-4
lines changed Expand file tree Collapse file tree 5 files changed +42
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Certora
2
+
3
+ on :
4
+ push :
5
+ workflow_dispatch :
6
+
7
+ jobs :
8
+ verify :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - uses : actions/checkout@v3
13
+
14
+ - name : Install python
15
+ uses : actions/setup-python@v4
16
+ with :
17
+ python-version : " 3.10"
18
+
19
+ - name : Install certora
20
+ run : pip install certora-cli
21
+
22
+ - name : Install solc
23
+ run : |
24
+ wget https://github.com/ethereum/solidity/releases/download/v0.8.17/solc-static-linux
25
+ chmod +x solc-static-linux
26
+ sudo mv solc-static-linux /usr/local/bin/solc8.17
27
+
28
+ - name : Verify rule ${{ matrix.script }}
29
+ run : |
30
+ echo "key length" ${#CERTORAKEY}
31
+ bash certora/scripts/${{ matrix.script }} --solc solc8.17
32
+ env :
33
+ CERTORAKEY : ${{ secrets.CERTORAKEY }}
34
+
35
+ strategy :
36
+ fail-fast : false
37
+ max-parallel : 4
38
+
39
+ matrix :
40
+ script :
41
+ - dll-fifo.sh
42
+ - dll-simple.sh
Original file line number Diff line number Diff line change @@ -7,6 +7,5 @@ certoraRun \
7
7
--verify MockDLL:certora/specs/dll-fifo.spec \
8
8
--loop_iter 4 \
9
9
--optimistic_loop \
10
- --send_only \
11
10
--msg " FIFO DLL verification" \
12
11
$@
Original file line number Diff line number Diff line change @@ -7,6 +7,5 @@ certoraRun \
7
7
--verify MockDLL:certora/specs/dll-simple.spec \
8
8
--loop_iter 7 \
9
9
--optimistic_loop \
10
- --send_only \
11
10
--msg " Simple DLL verification" \
12
11
$@
Original file line number Diff line number Diff line change @@ -7,6 +7,5 @@ certoraRun \
7
7
--verify MockDLL:certora/specs/sanity.spec \
8
8
--loop_iter 7 \
9
9
--optimistic_loop \
10
- --send_only \
11
10
--msg " FIFO DLL sanity" \
12
11
$@
Original file line number Diff line number Diff line change @@ -7,6 +7,5 @@ certoraRun \
7
7
--verify MockDLL:certora/specs/sanity.spec \
8
8
--loop_iter 7 \
9
9
--optimistic_loop \
10
- --send_only \
11
10
--msg " Simple DLL sanity" \
12
11
$@
You can’t perform that action at this time.
0 commit comments