1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00
rufus/appveyor.yml
Pete Batard 23d71ae0f1 [arm] add ARM compilation support (MSVC)
* Yay!
* Also remove unneeded stdint.h/stdbool.h/inttypes.h
2017-05-15 12:04:03 +01:00

44 lines
1.2 KiB
YAML

os: Visual Studio 2017
init:
- ps: >-
if ($env:appveyor_repo_tag -eq "true") {
Update-AppveyorBuild -Version "$env:appveyor_repo_tag_name"
} else {
Update-AppveyorBuild -Version "dev-$($env:appveyor_repo_commit.substring(0,8))"
}
environment:
global:
BITS: 32
matrix:
- CONFIGURATION: Debug
COMPILER: MSVC
PLATFORM: x86_32
- CONFIGURATION: Debug
COMPILER: MSVC
PLATFORM: x86_64
- CONFIGURATION: Release
COMPILER: MSVC
PLATFORM: x86_32
- CONFIGURATION: Release
COMPILER: MSVC
PLATFORM: x86_64
- CONFIGURATION: Release
COMPILER: MinGW
PLATFORM: i686
- CONFIGURATION: Release
COMPILER: MinGW
PLATFORM: x86_64
build:
project: rufus.sln
parallel: true
verbosity: detailed
install:
- if [%PLATFORM%]==[x86_64] set BITS=64
build_script:
- if [%COMPILER%]==[MSVC] msbuild rufus.sln /m /p:Configuration=%CONFIGURATION%,Platform=%PLATFORM% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- 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"