forked from ocaml/flexdll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
executable file
·67 lines (61 loc) · 2.56 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
platform:
- x64
image: Visual Studio 2015
environment:
global:
CYG_ROOT: C:/cygwin
CYG_MIRROR: http://mirrors.kernel.org/sourceware/cygwin/
CYG_CACHE: C:/cygwin/var/cache/setup
OCAML_PORT: msvc64
ARTEFACTS: no
matrix:
- OCAMLBRANCH: 3.11
- OCAMLBRANCH: 3.12
OCAMLREV: 1
- OCAMLBRANCH: 4.00
- OCAMLBRANCH: 4.01
- OCAMLBRANCH: 4.02
- OCAMLBRANCH: 4.03
SKIP_OCAML_TEST: no
- OCAMLBRANCH: 4.04
- OCAMLBRANCH: 4.05
- OCAMLBRANCH: 4.06
- OCAMLBRANCH: 4.07
- OCAMLBRANCH: 4.08
- OCAMLBRANCH: 4.09
- OCAMLBRANCH: 4.10
- OCAMLBRANCH: 4.11
- OCAMLBRANCH: 4.12
OCAML_PORT: mingw
ARTEFACTS: yes
MSVS_PREFERENCE: SDK7.0
- OCAMLBRANCH: 4.13
- OCAMLBRANCH: 4.14
SKIP_OCAML_TEST: no
- OCAMLBRANCH: 5.0
OCAML_PORT: mingw64
SKIP_OCAML_TEST: no
- OCAMLBRANCH: trunk
OCAML_PORT: mingw64
SKIP_OCAML_TEST: no
OCAMLROOT: C:/OCaml
cache:
- C:/OCaml
install:
# Make sure the Cygwin path comes before the Git one (otherwise
# cygpath behaves crazily), but after the MSVC one.
- set Path=C:\cygwin\bin;%OCAMLROOT%\bin;C:\flexdll;%Path%
- '%CYG_ROOT%\bin\bash -lc "cygcheck -dc cygwin"'
- if exist "%CYG_ROOT%\setup-x86.exe" del "%CYG_ROOT%\setup-x86.exe"
- appveyor DownloadFile "https://cygwin.com/setup-x86.exe" -FileName "%CYG_ROOT%\setup-x86.exe"
- '"%CYG_ROOT%\setup-x86.exe" --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages cygwin64-gcc-core,unzip,zip > nul'
- '%CYG_ROOT%\bin\bash -lc "x86_64-pc-cygwin-gcc --version" > nul || "%CYG_ROOT%\setup-x86.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'
- '%CYG_ROOT%\bin\bash -lc "cygcheck -dc cygwin"'
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
- appveyor DownloadFile "https://github.com/alainfrisch/flexdll/archive/0.37.tar.gz" -FileName "flexdll.tar.gz"
- appveyor DownloadFile "https://github.com/alainfrisch/flexdll/releases/download/0.37/flexdll-bin-0.37.zip" -FileName "flexdll.zip"
- appveyor DownloadFile "https://raw.githubusercontent.com/ocaml/ocaml/trunk/tools/msvs-promote-path" -FileName "msvs-promote-path"
build_script:
- "%CYG_ROOT%/bin/bash -lc \"echo 'eval $($APPVEYOR_BUILD_FOLDER/msvs-promote-path)' >> ~/.bash_profile\""
- '%CYG_ROOT%/bin/bash -lc "$APPVEYOR_BUILD_FOLDER/appveyor_build.sh"'
test: off