Skip to content

Commit

Permalink
Pin ocamlbuild to a github repo
Browse files Browse the repository at this point in the history
This avoids problems with `tar` and symblinks contained in all archives
for ocamlbuild >= 0.12.0
  • Loading branch information
Gbury committed Jun 22, 2023
1 parent 0555881 commit ebec243
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@ jobs:
# Run opam udpate to get an up-to-date repo
- name: Update opam repo
run: opam update
# For windows, pin to a git repo to avoid a problem with
# tar unable to correctly handle symlinks to directories in
# archives when they are in the wrong order
# The branch win32 also includes the patch for ocaml that comes from
# the mingw opam repo, cf
# https://github.com/fdopen/opam-repository-mingw/blob/opam2/packages/ocamlbuild/ocamlbuild.0.14.2/files/ocamlbuild-0.14.2.patch
- name: Pin ocamlbuild (windows-only)
run: opam pin add ocamlbuild https://github.com/Gbury/ocamlbuild.git#win32
if: matrix.os == 'windows-latest'
# Install dependencies
- name: Install dependencies
run: opam install . --deps-only --with-test --with-doc
Expand Down

0 comments on commit ebec243

Please sign in to comment.