Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
appveyor: do not cache ~/.opam
Fdopen says on https://fdopen.github.io/opam-repository-mingw/:

> Upgrading an existing ~/.opam folder is not supported, just rename
> or delete the directory and let opam create a new one.
  • Loading branch information
maelvls committed Dec 30, 2018
commit 8d1acf2a1d0a75171733a66d517d1d2a996e1eb0
8 changes: 5 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ environment:
CYG_ROOT: "C:\\cygwin"
CYG_BASH: "%CYG_ROOT%\\bin\\bash -lc"

cache:
- "%CYG_ROOT%\\home\\appveyor\\.opam"

# Had to disable caching of ~/.opam as fdopen says it isn't working with opam2:
# > Upgrading an existing ~/.opam folder is not supported, just rename or
# > delete the directory and let opam create a new one.
# cache:
# - "%CYG_ROOT%\\home\\appveyor\\.opam"

install:
- "%CYG_ROOT%\\setup-x86.exe -qnNdO -R %CYG_ROOT% -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P rsync -P patch -P diffutils -P make -P unzip -P git -P m4 -P perl -P mingw64-i686-gcc-core"
Expand Down