|
@@ -23,6 +23,8 @@ cache:
|
|
|
|
|
|
install:
|
|
|
- 'git submodule update --init --recursive'
|
|
|
+ - '%CYG_ROOT%/bin/bash -lc "echo initialize"'
|
|
|
+ - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win package_src"'
|
|
|
# Install ocaml
|
|
|
- curl -fsS -o cygwin-setup.exe --retry 3 https://cygwin.com/setup-x86.exe
|
|
|
- 'cygwin-setup.exe -g -q -R "%CYG_ROOT%" -P make -P git -P mingw64-i686-zlib -P rsync -P patch -P diffutils -P curl -P unzip -P m4 -P perl -P mingw64-i686-gcc-core -P mingw64-i686-pcre'
|
|
@@ -30,7 +32,6 @@ install:
|
|
|
curl -fsS -o opam32.tar.xz --retry 3 https://dl.dropboxusercontent.com/s/eo4igttab8ipyle/opam32.tar.xz
|
|
|
)
|
|
|
- 7z x "opam32.tar.xz" -so | 7z x -aoa -si -ttar
|
|
|
- - '%CYG_ROOT%/bin/bash -lc "echo initialize"'
|
|
|
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && bash opam32/install.sh"'
|
|
|
- '%CYG_ROOT%/bin/bash -lc "opam init mingw \"https://github.com/fdopen/opam-repository-mingw.git\" --comp 4.02.3+mingw32c --switch 4.02.3+mingw32c --auto-setup --yes"'
|
|
|
- '%CYG_ROOT%/bin/bash -lc "opam install camlp4 --yes"'
|
|
@@ -50,7 +51,6 @@ install:
|
|
|
|
|
|
build_script:
|
|
|
- 'cd %APPVEYOR_BUILD_FOLDER%'
|
|
|
- - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win package_src"'
|
|
|
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win"'
|
|
|
- 'set PATH=%PATH%;%APPVEYOR_BUILD_FOLDER%'
|
|
|
- 'set HAXEPATH=%APPVEYOR_BUILD_FOLDER%'
|