Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ jobs:
with:
submodules: recursive

- name: Setup OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5

- name: Install APT dependencies
run: |
sudo apt update
Expand All @@ -38,11 +33,18 @@ jobs:
- name: Install Python dependencies
run: python3 -m pip install --no-deps --require-hashes --requirement requirements.txt

- name: Install OCaml tools and libraries
- name: Setup OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5
opam-disable-sandboxing: true
dune-cache: true
env:
OPAMLOCKED: locked

- name: Install OCaml dependencies
run: |
opam init --no-setup --disable-sandboxing
opam switch create 5.4.1
eval $(opam env --switch=5.4.1)
eval $(opam env)
opam install . --deps-only --with-test --with-doc --locked --yes

- name: Build
Expand Down