-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
18 lines (15 loc) · 897 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
platform:
- x86
environment:
CYG_ROOT: C:/cygwin
CYG_BASH: '%CYG_ROOT%/bin/bash -lc'
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 curl -P make -P ocaml -P ocaml-camlp4 -P ocaml-compiler-libs -P unzip -P git -P m4 -P perl -P mingw64-x86_64-gcc-core'
- '%CYG_BASH% "curl -fsSL -o opam64.tar.xz https://dl.dropboxusercontent.com/s/b2q2vjau7if1c1b/opam64.tar.xz"'
- '%CYG_BASH% "tar -xf opam64.tar.xz"'
- '%CYG_BASH% "opam64/install.sh"'
- '%CYG_BASH% "opam init -a mingw https://github.com/fdopen/opam-repository-mingw.git" --comp 4.02.3+mingw64c --switch 4.02.3+mingw64c"'
- '%CYG_BASH% "opam install -y ocamlfind camlp5"'
- '%CYG_BASH% "eval `opam config env`"'
build_script:
- '%CYG_BASH% "cd ${APPVEYOR_BUILD_FOLDER} && ./configure && make && make distrib"'