File tree 3 files changed +9
-4
lines changed 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -88,11 +88,18 @@ jobs:
88
88
run : version="${{ steps.dafny.outputs.release }}"; dafny -version | grep -iE "Dafny "${version:1}".[0-9]{5}"
89
89
shell : bash
90
90
# # Check that a simple program compiles and runs on each supported platform
91
+ # # Now that the dotnet tool distribution doesn't include the Scripts,
92
+ # # so we need to clone the repository to get them.
93
+ - name : Checkout Dafny
94
+ uses : actions/checkout@v3
95
+ with :
96
+ submodules : recursive
97
+ path : dafny-repo
91
98
- name : run quicktests
92
99
run : |
93
100
npm install bignumber.js
94
- dafny/ quicktest.sh > log.txt
95
- diff log.txt dafny/quicktest.out
101
+ dafny-repo/Scripts/ quicktest.sh dafny > log.txt
102
+ diff log.txt dafny-repo/Scripts /quicktest.out
96
103
97
104
test-dafny-libraries :
98
105
Original file line number Diff line number Diff line change 1
- Using: ../../Scripts/dafny
2
1
Should succeed
3
2
4
3
Dafny program verifier finished with 1 verified, 0 errors
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ if [ -n "$1" ]; then
10
10
else
11
11
DAFNY=$DIR /dafny
12
12
fi
13
- echo " Using:" $DAFNY
14
13
15
14
echo Should succeed
16
15
$DAFNY verify a.dfy
You can’t perform that action at this time.
0 commit comments