Skip to content

Commit

Permalink
Fix Appveyor Cygwin mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed May 16, 2015
1 parent 9da8b5b commit cc13dcc
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,24 @@ platform:
- x86

environment:
global:
CYG_ROOT: C:/cygwin
CYG_MIRROR: http://cygwin.uib.no
CYG_CACHE: C:/cygwin/var/cache/setup
matrix:
-
CYG_ARCH: x86
global:
CYG_ROOT: C:/cygwin
CYG_CACHE: C:/cygwin/var/cache/setup
CYG_MIRROR: http://mirrors.kernel.org/sourceware/cygwin/
matrix:
-
CYG_ARCH: x86

init:
- 'echo System architecture: %PLATFORM%'
- 'echo System architecture: %PLATFORM%'

install:
- 'appveyor DownloadFile http://cygwin.com/setup-%CYG_ARCH%.exe -FileName setup.exe'
- 'setup.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P make -P git -P gcc-core -P ocaml -P ocaml-camlp4 -P ocaml-compiler-libs -P curl -P libncurses-devel -P m4 -P unzip >NUL'
- 'setup.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P libmpfr-devel -P patch -P flexdll >NUL'
- '%CYG_ROOT%/bin/bash -lc "cygcheck -dc cygwin"'
- 'appveyor DownloadFile http://cygwin.com/setup-%CYG_ARCH%.exe -FileName setup.exe'
- 'setup.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P make -P git -P gcc-core -P ocaml -P ocaml-camlp4 -P ocaml-compiler-libs -P curl -P libncurses-devel -P m4 -P unzip >NUL'
- 'setup.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P libmpfr-devel -P patch -P flexdll >NUL'
- '%CYG_ROOT%/bin/bash -lc "cygcheck -dc cygwin"'

build_script:
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && env DJDIR="workaround" ./configure && make lib-ext && make && make install"'
- '%CYG_ROOT%/bin/bash -lc "opam init -y -a"'
- '%CYG_ROOT%/bin/bash -lc "opam install -y -v lwt"'

- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && env DJDIR="workaround" ./configure && make lib-ext && make && make install"'
- '%CYG_ROOT%/bin/bash -lc "opam init -y -a"'
- '%CYG_ROOT%/bin/bash -lc "opam install -y -v ocamlfind"'

0 comments on commit cc13dcc

Please sign in to comment.