@@ -46,58 +46,58 @@ jobs:
46
46
with :
47
47
path : ' ocaml-jst'
48
48
49
- - name : Cache OCaml 4.12 and dune
49
+ - name : Cache OCaml 4.14 and dune
50
50
uses : actions/cache@v1
51
51
id : cache
52
52
with :
53
- path : ${{ github.workspace }}/ocaml-412 /_install
54
- key : ${{ matrix.os }}-cache-ocaml-412 -dune-341 -bits-${{ matrix.boot_cachekey }}
53
+ path : ${{ github.workspace }}/ocaml-414 /_install
54
+ key : ${{ matrix.os }}-cache-ocaml-414 -dune-361 -bits-${{ matrix.boot_cachekey }}
55
55
56
- - name : Checkout OCaml 4.12
56
+ - name : Checkout OCaml 4.14
57
57
uses : actions/checkout@master
58
58
if : steps.cache.outputs.cache-hit != 'true'
59
59
with :
60
60
repository : ' ocaml/ocaml'
61
- path : ' ocaml-412 '
62
- ref : ' 4.12 '
61
+ path : ' ocaml-414 '
62
+ ref : ' 4.14 '
63
63
64
64
- name : Setup 32-bit C compiler
65
65
if : matrix.name == 'i386' && steps.cache.outputs.cache-hit != 'true'
66
66
run : |
67
- mkdir -p ocaml-412 /_install/bin
68
- { echo '#!/bin/sh'; echo 'exec gcc -m32 "$@"'; } > ocaml-412 /_install/bin/cc32
69
- chmod +x ocaml-412 /_install/bin/cc32
67
+ mkdir -p ocaml-414 /_install/bin
68
+ { echo '#!/bin/sh'; echo 'exec gcc -m32 "$@"'; } > ocaml-414 /_install/bin/cc32
69
+ chmod +x ocaml-414 /_install/bin/cc32
70
70
71
- - name : Build OCaml 4.12
71
+ - name : Build OCaml 4.14
72
72
if : steps.cache.outputs.cache-hit != 'true'
73
- working-directory : ocaml-412
73
+ working-directory : ocaml-414
74
74
run : |
75
- export PATH=$GITHUB_WORKSPACE/ocaml-412 /_install/bin:$PATH
76
- ./configure --prefix=$GITHUB_WORKSPACE/ocaml-412 /_install ${{ matrix.boot_config }}
75
+ export PATH=$GITHUB_WORKSPACE/ocaml-414 /_install/bin:$PATH
76
+ ./configure --prefix=$GITHUB_WORKSPACE/ocaml-414 /_install ${{ matrix.boot_config }}
77
77
make -j $J world.opt
78
78
make install
79
79
# Remove unneeded parts to shrink cache file
80
- rm -rf $GITHUB_WORKSPACE/ocaml-412 /_install/{lib/ocaml/compiler-libs,lib/ocaml/expunge,bin/*.byte}
80
+ rm -rf $GITHUB_WORKSPACE/ocaml-414 /_install/{lib/ocaml/compiler-libs,lib/ocaml/expunge,bin/*.byte}
81
81
82
82
- name : Checkout dune github repo
83
83
uses : actions/checkout@master
84
84
if : steps.cache.outputs.cache-hit != 'true'
85
85
with :
86
86
repository : ' ocaml/dune'
87
- ref : ' 3.4 .1'
87
+ ref : ' 3.6 .1'
88
88
path : ' dune'
89
89
90
90
- name : Build dune
91
91
working-directory : dune
92
92
if : steps.cache.outputs.cache-hit != 'true'
93
93
run : |
94
- PATH=$GITHUB_WORKSPACE/ocaml-412 /_install/bin:$PATH make release
95
- cp dune.exe $GITHUB_WORKSPACE/ocaml-412 /_install/bin/dune
94
+ PATH=$GITHUB_WORKSPACE/ocaml-414 /_install/bin:$PATH make release
95
+ cp _boot/ dune.exe $GITHUB_WORKSPACE/ocaml-414 /_install/bin/dune
96
96
97
97
- name : Configure OCaml
98
98
working-directory : ocaml-jst
99
99
run : |
100
- export PATH=$GITHUB_WORKSPACE/ocaml-412 /_install/bin:$PATH
100
+ export PATH=$GITHUB_WORKSPACE/ocaml-414 /_install/bin:$PATH
101
101
autoconf
102
102
./configure \
103
103
--prefix=$GITHUB_WORKSPACE/_install \
@@ -106,7 +106,7 @@ jobs:
106
106
- name : Build, install and test ocaml-jst
107
107
working-directory : ocaml-jst
108
108
run : |
109
- export PATH=$GITHUB_WORKSPACE/ocaml-412 /_install/bin:$PATH
109
+ export PATH=$GITHUB_WORKSPACE/ocaml-414 /_install/bin:$PATH
110
110
make -f Makefile.jst runtest-upstream
111
111
env :
112
112
BUILD_OCAMLPARAM : ${{ matrix.ocamlparam }}
0 commit comments