File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -88,11 +88,18 @@ jobs:
8888 run : version="${{ steps.dafny.outputs.release }}"; dafny -version | grep -iE "Dafny "${version:1}".[0-9]{5}"
8989 shell : bash
9090 # # 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
9198 - name : run quicktests
9299 run : |
93100 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
96103
97104 test-dafny-libraries :
98105
Original file line number Diff line number Diff line change 1- Using: ../../Scripts/dafny
21Should succeed
32
43Dafny 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
1010else
1111 DAFNY=$DIR /dafny
1212fi
13- echo " Using:" $DAFNY
1413
1514echo Should succeed
1615$DAFNY verify a.dfy
You can’t perform that action at this time.
0 commit comments