Skip to content

Commit c0a5686

Browse files
authored
Merge pull request #124 from MisterDA/appveyor
Update AppVeyor scripts
2 parents cc0525e + e4b68ea commit c0a5686

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

appveyor.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ environment:
1010
CYG_CACHE: C:/cygwin64/var/cache/setup
1111
OCAML_PORT: msvc64
1212
ARTEFACTS: no
13+
FLEXDLL_VERSION: 0.43
1314
matrix:
1415
- OCAMLBRANCH: 3.11
1516
- OCAMLBRANCH: 3.12
@@ -36,6 +37,8 @@ environment:
3637
SKIP_OCAML_TEST: no
3738
- OCAMLBRANCH: 5.0
3839
OCAML_PORT: mingw64
40+
- OCAMLBRANCH: 5.1
41+
OCAML_PORT: mingw64
3942
SKIP_OCAML_TEST: no
4043
- OCAMLBRANCH: trunk
4144
OCAML_PORT: mingw64
@@ -56,8 +59,8 @@ install:
5659
- '%CYG_ROOT%\bin\bash -lc "zip --version" > nul || "%CYG_ROOT%\setup-x86_64.exe" --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --upgrade-also > nul'
5760
- '%CYG_ROOT%\bin\bash -lc "cygcheck -dc cygwin"'
5861
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
59-
- appveyor DownloadFile "https://github.com/alainfrisch/flexdll/archive/0.37.tar.gz" -FileName "flexdll.tar.gz"
60-
- appveyor DownloadFile "https://github.com/alainfrisch/flexdll/releases/download/0.37/flexdll-bin-0.37.zip" -FileName "flexdll.zip"
62+
- appveyor DownloadFile "https://github.com/ocaml/flexdll/archive/%FLEXDLL_VERSION%.tar.gz" -FileName "flexdll.tar.gz"
63+
- appveyor DownloadFile "https://github.com/ocaml/flexdll/releases/download/%FLEXDLL_VERSION%/flexdll-bin-%FLEXDLL_VERSION%.zip" -FileName "flexdll.zip"
6164
- appveyor DownloadFile "https://raw.githubusercontent.com/ocaml/ocaml/trunk/tools/msvs-promote-path" -FileName "msvs-promote-path"
6265

6366
build_script:

appveyor_build.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function configure_ocaml {
3333
--disable-unix-lib \
3434
--disable-bigarray-lib \
3535
$GRAPHICS_DISABLE \
36+
$OCAMLTEST_DISABLE \
3637
--disable-debug-runtime
3738
else
3839
# "Classic" configuration
@@ -93,6 +94,7 @@ esac
9394
MAKEOCAML=make
9495
CONFIG_DIR=config
9596
GRAPHICS_DISABLE=
97+
OCAMLTEST_DISABLE=--disable-ocamltest
9698
HEADER_DIR=
9799
FLEXDLL_BOOTSTRAP_WORKS=1
98100

@@ -105,9 +107,13 @@ case $OCAML_RELEASE in
105107
406|407)
106108
HEADER_DIR=byterun/caml;;
107109
408)
110+
OCAMLTEST_DISABLE=''
108111
GRAPHICS_DISABLE=--disable-graph-lib
109112
FLEXDLL_BOOTSTRAP_WORKS=0;;
110-
409|410|411|412)
113+
409|410)
114+
OCAMLTEST_DISABLE=''
115+
FLEXDLL_BOOTSTRAP_WORKS=0;;
116+
411|412)
111117
FLEXDLL_BOOTSTRAP_WORKS=0;;
112118
esac
113119

0 commit comments

Comments
 (0)