File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,15 +31,23 @@ jobs:
3131 - name : Update Ubuntu repositories
3232 run : sudo apt-get update
3333
34+ # We set DUNE_CACHE_STORAGE_MODE, it is required for dune cache to work inside opam for now,
35+ # otherwise it gets EXDEV and considers it a cache miss
3436 - name : Use ocaml
35- uses : ocaml/setup-ocaml@v2
37+ uses : ocaml/setup-ocaml@v3
3638 with :
3739 ocaml-compiler : ${{ steps.dotenv.outputs.ocaml_version_full }}
3840 opam-repositories : |
3941 xs-opam: ${{ steps.dotenv.outputs.repository }}
42+ dune-cache : true
43+ opam-pin : false
44+ cache-prefix : v3-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}
45+ env :
46+ DUNE_CACHE_STORAGE_MODE : copy
4047
4148 - name : Install dependencies
42- run : opam pin list --short | xargs opam install --deps-only -v
49+ shell : bash
50+ run : opam install . --deps-only -v
4351
4452 - name : Generate xapi-storage docs
4553 run : |
You can’t perform that action at this time.
0 commit comments