23
23
uses : actions/cache@v4
24
24
with :
25
25
path : |
26
- ../ verus/source
26
+ verus/source
27
27
key : verus-${{ runner.os }}-${{ env.verus_commit }}
28
28
- name : Download Verus if cache is missing
29
29
if : steps.cache-verus.outputs.cache-hit != 'true'
35
35
- name : Build Verus if cache is missing
36
36
if : steps.cache-verus.outputs.cache-hit != 'true'
37
37
run : |
38
- mv verus ../verus
39
- cd ../verus
38
+ cd verus
40
39
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
41
40
. "$HOME/.cargo/env"
42
41
rustup toolchain install
@@ -59,10 +58,10 @@ jobs:
59
58
uses : actions/cache@v4
60
59
with :
61
60
path : |
62
- ../ verus/source
61
+ verus/source
63
62
key : verus-${{ runner.os }}-${{ env.verus_commit }}
64
63
- name : Verify fluent controller
65
- run : VERUS_DIR="$(dirname "$ {PWD}") /verus" ./build.sh fluent_controller.rs --time --rlimit 50
64
+ run : VERUS_DIR="${PWD}/verus" ./build.sh fluent_controller.rs --time --rlimit 50
66
65
rabbitmq-verification :
67
66
needs : build-verus
68
67
runs-on : ubuntu-22.04
@@ -77,10 +76,10 @@ jobs:
77
76
uses : actions/cache@v4
78
77
with :
79
78
path : |
80
- ../ verus/source
79
+ verus/source
81
80
key : verus-${{ runner.os }}-${{ env.verus_commit }}
82
81
- name : Verify rabbitmq controller
83
- run : VERUS_DIR="$(dirname "$ {PWD}") /verus" ./build.sh rabbitmq_controller.rs --time --rlimit 50
82
+ run : VERUS_DIR="${PWD}/verus" ./build.sh rabbitmq_controller.rs --time --rlimit 50
84
83
zookeeper-verification :
85
84
needs : build-verus
86
85
runs-on : ubuntu-22.04
@@ -95,10 +94,10 @@ jobs:
95
94
uses : actions/cache@v4
96
95
with :
97
96
path : |
98
- ../ verus/source
97
+ verus/source
99
98
key : verus-${{ runner.os }}-${{ env.verus_commit }}
100
99
- name : Verify zookeeper controller
101
- run : VERUS_DIR="$(dirname "$ {PWD}") /verus" ./build.sh zookeeper_controller.rs --time --rlimit 100
100
+ run : VERUS_DIR="${PWD}/verus" ./build.sh zookeeper_controller.rs --time --rlimit 100
102
101
vreplicaset-verification :
103
102
needs : build-verus
104
103
runs-on : ubuntu-22.04
@@ -113,10 +112,10 @@ jobs:
113
112
uses : actions/cache@v4
114
113
with :
115
114
path : |
116
- ../ verus/source
115
+ verus/source
117
116
key : verus-${{ runner.os }}-${{ env.verus_commit }}
118
117
- name : Verify vreplicaset controller
119
- run : VERUS_DIR="$(dirname "$ {PWD}") /verus" ./build.sh vreplicaset_controller.rs --time
118
+ run : VERUS_DIR="${PWD}/verus" ./build.sh vreplicaset_controller.rs --time
120
119
v2-vreplicaset-verification :
121
120
needs : build-verus
122
121
runs-on : ubuntu-22.04
@@ -131,10 +130,10 @@ jobs:
131
130
uses : actions/cache@v4
132
131
with :
133
132
path : |
134
- ../ verus/source
133
+ verus/source
135
134
key : verus-${{ runner.os }}-${{ env.verus_commit }}
136
135
- name : Verify vreplicaset controller
137
- run : VERUS_DIR="$(dirname "$ {PWD}") /verus" ./build.sh v2_vreplicaset_controller.rs --rlimit 50 --time
136
+ run : VERUS_DIR="${PWD}/verus" ./build.sh v2_vreplicaset_controller.rs --rlimit 50 --time
138
137
v2-vdeployment-verification :
139
138
needs : build-verus
140
139
runs-on : ubuntu-22.04
@@ -149,10 +148,10 @@ jobs:
149
148
uses : actions/cache@v4
150
149
with :
151
150
path : |
152
- ../ verus/source
151
+ verus/source
153
152
key : verus-${{ runner.os }}-${{ env.verus_commit }}
154
153
- name : Verify vdeployment controller
155
- run : VERUS_DIR="$(dirname "$ {PWD}") /verus" ./build.sh v2_vdeployment_controller.rs --rlimit 50 --time
154
+ run : VERUS_DIR="${PWD}/verus" ./build.sh v2_vdeployment_controller.rs --rlimit 50 --time
156
155
unit-tests :
157
156
needs : build-verus
158
157
runs-on : ubuntu-22.04
@@ -167,7 +166,7 @@ jobs:
167
166
uses : actions/cache@v4
168
167
with :
169
168
path : |
170
- ../ verus/source
169
+ verus/source
171
170
key : verus-${{ runner.os }}-${{ env.verus_commit }}
172
171
- name : Pin home to version 0.5.9 (workaround)
173
172
run : cargo update home --precise 0.5.9
@@ -186,7 +185,7 @@ jobs:
186
185
uses : actions/cache@v4
187
186
with :
188
187
path : |
189
- ../ verus/source
188
+ verus/source
190
189
key : verus-${{ runner.os }}-${{ env.verus_commit }}
191
190
- name : Setup Go
192
191
uses : actions/setup-go@v5
@@ -214,10 +213,10 @@ jobs:
214
213
uses : actions/cache@v4
215
214
with :
216
215
path : |
217
- ../ verus/source
216
+ verus/source
218
217
key : verus-${{ runner.os }}-${{ env.verus_commit }}
219
218
- name : Verify conformance of the executable model
220
- run : VERUS_DIR="$(dirname "$ {PWD}") /verus" ./build.sh anvil.rs --crate-type lib --time
219
+ run : VERUS_DIR="${PWD}/verus" ./build.sh anvil.rs --crate-type lib --time
221
220
framework-v2-verification :
222
221
needs : build-verus
223
222
runs-on : ubuntu-22.04
@@ -232,10 +231,10 @@ jobs:
232
231
uses : actions/cache@v4
233
232
with :
234
233
path : |
235
- ../ verus/source
234
+ verus/source
236
235
key : verus-${{ runner.os }}-${{ env.verus_commit }}
237
236
- name : Verify conformance of the executable model
238
- run : VERUS_DIR="$(dirname "$ {PWD}") /verus" ./build.sh anvil_v2.rs --crate-type lib --rlimit 50 --time
237
+ run : VERUS_DIR="${PWD}/verus" ./build.sh anvil_v2.rs --crate-type lib --rlimit 50 --time
239
238
fluent-e2e-test :
240
239
runs-on : ubuntu-22.04
241
240
steps :
0 commit comments