-
Notifications
You must be signed in to change notification settings - Fork 234
/
appveyor.cmd
37 lines (35 loc) · 1.34 KB
/
appveyor.cmd
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
@setlocal
@echo off
set Path=C:\cygwin\bin;%Path%
set OCAML_PREV_PATH=%PATH%
set OCAML_PREV_LIB=%LIB%
set OCAML_PREV_INCLUDE=%INCLUDE%
bash -lc "$APPVEYOR_BUILD_FOLDER/appveyor.sh prepare mingw"
if errorlevel 1 exit /b 1
bash -lc "$APPVEYOR_BUILD_FOLDER/appveyor.sh prepare mingw64"
if errorlevel 1 exit /b 1
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86 /release
bash -lc "$APPVEYOR_BUILD_FOLDER/appveyor.sh prepare msvc"
if errorlevel 1 exit /b 1
set PATH=%OCAML_PREV_PATH%
set LIB=%OCAML_PREV_LIB%
set INCLUDE=%OCAML_PREV_INCLUDE%
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release
bash -lc "$APPVEYOR_BUILD_FOLDER/appveyor.sh prepare msvc64"
if errorlevel 1 exit /b 1
bash -lc "$APPVEYOR_BUILD_FOLDER/appveyor.sh matrix"
bash -lc "$APPVEYOR_BUILD_FOLDER/appveyor.sh build msvc64"
if errorlevel 1 exit /b 1
set PATH=%OCAML_PREV_PATH%
set LIB=%OCAML_PREV_LIB%
set INCLUDE=%OCAML_PREV_INCLUDE%
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86 /release
bash -lc "$APPVEYOR_BUILD_FOLDER/appveyor.sh build msvc"
if errorlevel 1 exit /b 1
set PATH=%OCAML_PREV_PATH%
set LIB=%OCAML_PREV_LIB%
set INCLUDE=%OCAML_PREV_INCLUDE%
bash -lc "$APPVEYOR_BUILD_FOLDER/appveyor.sh build mingw"
if errorlevel 1 exit /b 1
bash -lc "$APPVEYOR_BUILD_FOLDER/appveyor.sh build mingw64"
if errorlevel 1 exit /b 1