2016-08-05 21:58:23 +00:00
os : Visual Studio 2015
2016-08-06 17:01:05 +00:00
init :
- ps : >-
2016-08-07 16:41:47 +00:00
if ($env:appveyor_repo_tag -eq "true") {
2016-08-06 17:01:05 +00:00
Update-AppveyorBuild -Version "$env:appveyor_repo_tag_name"
2016-08-07 16:41:47 +00:00
} else {
2016-08-06 17:01:05 +00:00
Update-AppveyorBuild -Version "dev-$($env:appveyor_repo_commit.substring(0,7))"
}
2016-08-05 21:58:23 +00:00
environment :
global :
PLATFORMTOOLSET : v140
BITS : 32
matrix :
- CONFIGURATION : Debug
COMPILER : MSVC15
PLATFORM : x86_32
- CONFIGURATION : Debug
COMPILER : MSVC15
PLATFORM : x86_64
- CONFIGURATION : Release
COMPILER : MSVC15
PLATFORM : x86_32
- CONFIGURATION : Release
COMPILER : MSVC15
PLATFORM : x86_64
- CONFIGURATION : Release
COMPILER : MinGW
PLATFORM : i686
- CONFIGURATION : Release
COMPILER : MinGW
PLATFORM : x86_64
2016-08-05 15:30:49 +00:00
build :
project : rufus.sln
parallel : true
verbosity : detailed
2016-08-05 21:58:23 +00:00
2016-08-05 15:30:49 +00:00
install :
2016-08-05 21:58:23 +00:00
- if [%PLATFORM%]==[x86_64] set BITS=64
2016-08-05 15:30:49 +00:00
build_script :
2016-08-05 21:58:23 +00:00
- if [%COMPILER%]==[MSVC15] msbuild rufus.sln /m /p:Configuration=%CONFIGURATION%,Platform=%PLATFORM% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
2016-08-30 11:10:08 +00:00
- if [%COMPILER%]==[MinGW] C:\msys64\usr\bin\bash -lc "export PATH=/mingw%BITS%/bin:$PATH; cd /c/projects/rufus; ./configure --build=%PLATFORM%-w64-mingw32 --host=%PLATFORM%-w64-mingw32 --disable-debug; make -j4"