@@ -86,45 +86,45 @@ jobs:
8686 with :
8787 path : ' flambda_backend'
8888
89- - name : Cache OCaml 4.12 and dune
89+ - name : Cache OCaml 4.14 and dune
9090 uses : actions/cache@v1
9191 id : cache
9292 with :
93- path : ${{ github.workspace }}/ocaml-412 /_install
94- key : ${{ matrix.os }}-cache-ocaml-412 -dune-341
93+ path : ${{ github.workspace }}/ocaml-414 /_install
94+ key : ${{ matrix.os }}-cache-ocaml-414 -dune-361
9595
96- - name : Checkout OCaml 4.12
96+ - name : Checkout OCaml 4.14
9797 uses : actions/checkout@master
9898 if : steps.cache.outputs.cache-hit != 'true'
9999 with :
100100 repository : ' ocaml/ocaml'
101- path : ' ocaml-412 '
102- ref : ' 4.12 '
101+ path : ' ocaml-414 '
102+ ref : ' 4.14 '
103103
104- - name : Build OCaml 4.12
104+ - name : Build OCaml 4.14
105105 if : steps.cache.outputs.cache-hit != 'true'
106- working-directory : ocaml-412
106+ working-directory : ocaml-414
107107 run : |
108- ./configure --prefix=$GITHUB_WORKSPACE/ocaml-412 /_install
108+ ./configure --prefix=$GITHUB_WORKSPACE/ocaml-414 /_install
109109 make -j $J world.opt
110110 make install
111111 # Remove unneeded parts to shrink cache file
112- rm -rf $GITHUB_WORKSPACE/ocaml-412 /_install/{lib/ocaml/compiler-libs,lib/ocaml/expunge,bin/*.byte}
112+ rm -rf $GITHUB_WORKSPACE/ocaml-414 /_install/{lib/ocaml/compiler-libs,lib/ocaml/expunge,bin/*.byte}
113113
114114 - name : Checkout dune github repo
115115 uses : actions/checkout@master
116116 if : steps.cache.outputs.cache-hit != 'true'
117117 with :
118118 repository : ' ocaml/dune'
119- ref : ' 3.4 .1'
119+ ref : ' 3.6 .1'
120120 path : ' dune'
121121
122122 - name : Build dune
123123 working-directory : dune
124124 if : steps.cache.outputs.cache-hit != 'true'
125125 run : |
126- PATH=$GITHUB_WORKSPACE/ocaml-412 /_install/bin:$PATH make release
127- cp dune.exe $GITHUB_WORKSPACE/ocaml-412 /_install/bin/dune
126+ PATH=$GITHUB_WORKSPACE/ocaml-414 /_install/bin:$PATH make release
127+ cp _boot/ dune.exe $GITHUB_WORKSPACE/ocaml-414 /_install/bin/dune
128128
129129 - name : Install GNU parallel
130130 if : matrix.os == 'macos-latest'
@@ -140,14 +140,14 @@ jobs:
140140 autoconf
141141 ./configure \
142142 --prefix=$GITHUB_WORKSPACE/_install \
143- --with-dune=$GITHUB_WORKSPACE/ocaml-412 /_install/bin/dune \
143+ --with-dune=$GITHUB_WORKSPACE/ocaml-414 /_install/bin/dune \
144144 ${{ matrix.config }}
145145
146146 - name : Build, install and test Flambda backend
147147 working-directory : flambda_backend
148148 run : |
149149 if [ $run_testsuite = true ]; then target=ci; else target=compiler; fi
150- export PATH=$GITHUB_WORKSPACE/ocaml-412 /_install/bin:$PATH
150+ export PATH=$GITHUB_WORKSPACE/ocaml-414 /_install/bin:$PATH
151151 if [ $build_upstream = true ]; then make -j$J build_and_test_upstream; else make $target; fi
152152 env :
153153 BUILD_OCAMLPARAM : ${{ matrix.ocamlparam }}
@@ -158,4 +158,4 @@ jobs:
158158 working-directory : flambda_backend
159159 if : matrix.check_arch == true
160160 run : |
161- PATH=$GITHUB_WORKSPACE/ocaml-412 /_install/bin:$PATH make check_all_arches
161+ PATH=$GITHUB_WORKSPACE/ocaml-414 /_install/bin:$PATH make check_all_arches
0 commit comments