File tree 5 files changed +32
-41
lines changed
5 files changed +32
-41
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 63
63
git checkout main
64
64
git pull
65
65
git submodule update --init --recursive
66
+ git rev-parse HEAD
66
67
67
68
- name : Update project.properties if using MPL HEAD
68
69
if : ${{ inputs.mpl-head == true }}
Original file line number Diff line number Diff line change @@ -29,12 +29,13 @@ jobs:
29
29
dafny : ${{needs.getVerifyVersion.outputs.version}}
30
30
mpl-version : ${{needs.getMplHeadVersion.outputs.version}}
31
31
mpl-head : true
32
- # mpl-head-ci-test-vector-verification:
33
- # needs: getVerifyVersion
34
- # uses: ./.github/workflows/test_vector_verification.yml
35
- # with:
36
- # dafny: ${{needs.getVerifyVersion.outputs.version}}
37
- # mpl-head: true
32
+ mpl-head-ci-test-vector-verification :
33
+ needs : getVerifyVersion
34
+ uses : ./.github/workflows/test_vector_verification.yml
35
+ with :
36
+ dafny : ${{needs.getVerifyVersion.outputs.version}}
37
+ mpl-version : ${{needs.getMplHeadVersion.outputs.version}}
38
+ mpl-head : true
38
39
# mpl-head-ci-java-test-vectors:
39
40
# needs: getVersion
40
41
# uses: ./.github/workflows/ci_test_vector_java.yml
Original file line number Diff line number Diff line change 26
26
git checkout main
27
27
git pull
28
28
git submodule update --init --recursive
29
+ git rev-parse HEAD
29
30
30
31
- name : Get the MPL version from the MPL submodule
31
32
id : read_property
Original file line number Diff line number Diff line change 13
13
required : false
14
14
default : false
15
15
type : boolean
16
+ mpl-version :
17
+ description : " MPL version to use"
18
+ required : false
19
+ type : string
20
+ mpl-head :
21
+ description : " Running on MPL HEAD"
22
+ required : false
23
+ default : false
24
+ type : boolean
16
25
17
26
jobs :
18
27
verification :
37
46
uses :
dafny-lang/[email protected]
38
47
with :
39
48
dafny-version : ${{ inputs.dafny }}
49
+
50
+ - name : Update MPL submodule if using MPL HEAD
51
+ if : ${{ inputs.mpl-head == true }}
52
+ working-directory : submodules/MaterialProviders
53
+ run : |
54
+ git checkout main
55
+ git pull
56
+ git submodule update --init --recursive
57
+ git rev-parse HEAD
58
+
59
+ - name : Update project.properties if using MPL HEAD
60
+ if : ${{ inputs.mpl-head == true }}
61
+ run : |
62
+ sed "s/mplDependencyJavaVersion=.*/mplDependencyJavaVersion=${{inputs.mpl-version}}/g" project.properties > project.properties2; mv project.properties2 project.properties
40
63
41
64
# dafny-reportgenerator requires next6
42
65
# but only 7.0 is installed on macos-12-large
You can’t perform that action at this time.
0 commit comments