@@ -3,50 +3,42 @@ pull_requests:
33 do_not_increment_build_number : true
44skip_tags : true
55image : Visual Studio 2017
6+ configuration :
7+ - Debug
8+ - Mixed
9+ - Release
10+ platform :
11+ - x64
12+ - x86
613environment :
714 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:
2518# - SET LUAENV=lua51
2619# - cmd: .appveyor\install-lua.cmd
2720
2821build_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
3122- git submodule update --init --recursive
3223
3324# Remove sh.exe from the path otherwise CMake will complain:
3425# "sh.exe was found in your PATH, here: C:/Program Files/Git/usr/bin/sh.exe"
3526# 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%"
3731
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- )
4232- ECHO %PATH%
43- - if [%BUILD_SYSTEM%]==[mingw] (
33+ - if [%BUILDSYSTEM%]==[MinGW] && [%PLATFORM%] = [x86] && [%CONFIGURATION%] = [Debug] (
34+ MinGW32-make --version &&
35+ g++ --version &&
4436 MKDIR bin &&
4537 CD bin &&
4638 cmake .. -G "MinGW Makefiles" &&
47- mingw32 -make
39+ MinGW32 -make
4840 )
49- - if [%BUILD_SYSTEM %]==[msvc ] (
41+ - if [%BUILDSYSTEM %]==[MSVC ] (
5042 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"
5143 )
5244
@@ -60,6 +52,10 @@ artifacts:
6052 name : OpenXRay.Dx86.7z
6153- path : res/OpenXRay.Dx64.7z
6254 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
6359- path : res/OpenXRay.Rx86.7z
6460 name : OpenXRay.Rx86.7z
6561- path : res/OpenXRay.Rx64.7z
0 commit comments