File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,21 @@ jobs:
1717 # - freebsd-latest
1818 ocaml-compiler :
1919 - 5.2.x
20+ - 5.3.x
2021 runs-on : ${{ matrix.os }}
2122 steps :
22- - uses : actions/checkout@v2
23- - uses : ocaml/setup-ocaml@v3.1.4
23+ - name : Set git to use LF
24+ run : |
25+ git config --global core.autocrlf false
26+ git config --global core.eol lf
27+ git config --global core.ignorecase false
28+ - uses : actions/checkout@v4
29+ - uses : ocaml/setup-ocaml@v3
2430 with :
2531 ocaml-compiler : ${{ matrix.ocaml-compiler }}
2632 dune-cache : true
2733 allow-prerelease-opam : true
2834 - run : opam pin -n .
29- - run : opam depext -yt arrayjit neural_nets_lib
30- - run : opam install . --deps-only --with-test --with-doc
35+ - run : opam install . -y --deps-only --with-test --with-doc
3136 - run : opam exec -- dune build
3237 - run : opam exec -- dune runtest
Original file line number Diff line number Diff line change @@ -14,30 +14,26 @@ jobs:
1414
1515 - name : Cache opam
1616 id : cache-opam
17- uses : actions/cache@v2
17+ uses : actions/cache@v4
1818 with :
1919 path : ~/.opam
2020 key : opam-ubuntu-22.04-5.2.0
2121
22- # - uses: actions/checkout@v2
23- - uses : ocaml/setup-ocaml@v3.1.4
22+ - uses : ocaml/setup-ocaml@v3
2423 with :
2524 ocaml-compiler : ' 5.2.0'
2625
2726 - name : Pin
2827 run : opam pin -n .
2928
30- - name : Depext
31- run : opam depext -yt ocannl_npy arrayjit neural_nets_lib
32-
3329 - name : Deps
34- run : opam install -d . --deps-only
30+ run : opam install -ydt . --deps-only
3531
3632 - name : Build
3733 run : opam exec -- dune build @doc
3834
3935 - name : Deploy
40- uses : peaceiris/actions-gh-pages@v3
36+ uses : peaceiris/actions-gh-pages@v4
4137 with :
4238 github_token : ${{ secrets.GITHUB_TOKEN }}
4339 publish_dir : ./_build/default/_doc/_html/
You can’t perform that action at this time.
0 commit comments