@@ -3,50 +3,42 @@ pull_requests:
3
3
do_not_increment_build_number : true
4
4
skip_tags : true
5
5
image : Visual Studio 2017
6
+ configuration :
7
+ - Debug
8
+ - Mixed
9
+ - Release
10
+ platform :
11
+ - x64
12
+ - x86
6
13
environment :
7
14
matrix :
8
- - PLATFORM : x86
9
- BUILD_SYSTEM : mingw
10
- # - PLATFORM: x64
11
- # BUILD_SYSTEM: mingw
12
- - PLATFORM : x86
13
- BUILD_SYSTEM : msvc
14
- CONFIGURATION : Debug
15
- - PLATFORM : x86
16
- BUILD_SYSTEM : msvc
17
- CONFIGURATION : Release
18
- - PLATFORM : x64
19
- BUILD_SYSTEM : msvc
20
- CONFIGURATION : Debug
21
- - PLATFORM : x64
22
- BUILD_SYSTEM : msvc
23
- CONFIGURATION : Release
24
- install :
15
+ - BUILDSYSTEM : MinGW
16
+ - BUILDSYSTEM : MSVC
17
+ # install:
25
18
# - SET LUAENV=lua51
26
19
# - cmd: .appveyor\install-lua.cmd
27
20
28
21
build_script :
29
- - C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\mingw32-make --version
30
- - C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\g++ --version
31
22
- git submodule update --init --recursive
32
23
33
24
# Remove sh.exe from the path otherwise CMake will complain:
34
25
# "sh.exe was found in your PATH, here: C:/Program Files/Git/usr/bin/sh.exe"
35
26
# and the MinGW build will not work (the Visual Studio build does not care).
36
- - SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"
27
+ - if [%BUILDSYSTEM%]==[MinGW] SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"
28
+
29
+ # Add MinGW-w64 to PATH
30
+ - if [%BUILDSYSTEM%]==[MinGW] SET "PATH=C:\MinGW-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\MinGW64\bin;%PATH%"
37
31
38
- # Add mingw-w64 to PATH
39
- - if [%BUILD_SYSTEM%]==[mingw] (
40
- SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%"
41
- )
42
32
- ECHO %PATH%
43
- - if [%BUILD_SYSTEM%]==[mingw] (
33
+ - if [%BUILDSYSTEM%]==[MinGW] && [%PLATFORM%] = [x86] && [%CONFIGURATION%] = [Debug] (
34
+ MinGW32-make --version &&
35
+ g++ --version &&
44
36
MKDIR bin &&
45
37
CD bin &&
46
38
cmake .. -G "MinGW Makefiles" &&
47
- mingw32 -make
39
+ MinGW32 -make
48
40
)
49
- - if [%BUILD_SYSTEM %]==[msvc ] (
41
+ - if [%BUILDSYSTEM %]==[MSVC ] (
50
42
msbuild "src\engine.sln" /m /verbosity:minimal /property:PlatformToolset=v141 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
51
43
)
52
44
@@ -60,6 +52,10 @@ artifacts:
60
52
name : OpenXRay.Dx86.7z
61
53
- path : res/OpenXRay.Dx64.7z
62
54
name : OpenXRay.Dx64.7z
55
+ - path : res/OpenXRay.Mx86.7z
56
+ name : OpenXRay.Mx86.7z
57
+ - path : res/OpenXRay.Mx64.7z
58
+ name : OpenXRay.Mx64.7z
63
59
- path : res/OpenXRay.Rx86.7z
64
60
name : OpenXRay.Rx86.7z
65
61
- path : res/OpenXRay.Rx64.7z
0 commit comments