forked from asmjit/asmjit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
92 lines (70 loc) · 2.19 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: "{build}"
image: Visual Studio 2015
clone_folder: c:\dev\asmjit
environment:
matrix:
- BUILD_TYPE: Debug
MINGW_PATH: C:\MinGW
TOOLCHAIN: "MinGW Makefiles"
- BUILD_TYPE: Release
MINGW_PATH: C:\MinGW
TOOLCHAIN: "MinGW Makefiles"
- BUILD_TYPE: Debug
MINGW_PATH: C:\msys64\mingw64
TOOLCHAIN: "MinGW Makefiles"
- BUILD_TYPE: Release
MINGW_PATH: C:\msys64\mingw64
TOOLCHAIN: "MinGW Makefiles"
- BUILD_TYPE: Debug
TOOLCHAIN: "Visual Studio 9 2008"
- BUILD_TYPE: Release
TOOLCHAIN: "Visual Studio 9 2008"
- BUILD_TYPE: Debug
TOOLCHAIN: "Visual Studio 10 2010"
- BUILD_TYPE: Release
TOOLCHAIN: "Visual Studio 10 2010"
- BUILD_TYPE: Debug
TOOLCHAIN: "Visual Studio 10 2010 Win64"
- BUILD_TYPE: Release
TOOLCHAIN: "Visual Studio 10 2010 Win64"
- BUILD_TYPE: Debug
TOOLCHAIN: "Visual Studio 12 2013"
- BUILD_TYPE: Release
TOOLCHAIN: "Visual Studio 12 2013"
- BUILD_TYPE: Debug
TOOLCHAIN: "Visual Studio 12 2013 Win64"
- BUILD_TYPE: Release
TOOLCHAIN: "Visual Studio 12 2013 Win64"
- BUILD_TYPE: Debug
TOOLCHAIN: "Visual Studio 14 2015"
- BUILD_TYPE: Release
TOOLCHAIN: "Visual Studio 14 2015"
- BUILD_TYPE: Debug
TOOLCHAIN: "Visual Studio 14 2015 Win64"
- BUILD_TYPE: Release
TOOLCHAIN: "Visual Studio 14 2015 Win64"
install:
- if "%TOOLCHAIN%"=="MinGW Makefiles" set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
- if "%TOOLCHAIN%"=="MinGW Makefiles" set PATH=%MINGW_PATH%\bin;%PATH%
build_script:
- cd c:\dev\asmjit
- md build
- cd build
- if "%TOOLCHAIN%"=="MinGW Makefiles" (
cmake .. -G"%TOOLCHAIN%" -DCMAKE_PREFIX_PATH="%MINGW_PATH%" -DCMAKE_BUILD_TYPE="%BUILD_TYPE%" -DASMJIT_BUILD_TEST=1 &&
mingw32-make
)
else (
cmake .. -G"%TOOLCHAIN%" -DASMJIT_BUILD_TEST=1 &&
msbuild /m /nologo /v:quiet /p:Configuration=%BUILD_TYPE% asmjit.sln
)
test_script:
- if "%TOOLCHAIN%"=="MinGW Makefiles" (
cd c:\dev\asmjit\build
)
else (
cd c:\dev\asmjit\build\%BUILD_TYPE%
)
- asmjit_test_unit.exe
- asmjit_test_x86_asm.exe
- asmjit_test_x86_cc.exe