diff --git a/README.md b/README.md index 540df772..ef5c8a50 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ Rufus: The Reliable USB Formatting Utility ========================================== +[![Build status](https://ci.appveyor.com/api/projects/status/0nciqepn6hko4to9?svg=true)](https://ci.appveyor.com/project/pbatard/rufus) +[![Coverity Scan Build Status](https://scan.coverity.com/projects/2172/badge.svg)](https://scan.coverity.com/projects/pbatard-rufus) + ![Rufus logo](https://raw.githubusercontent.com/pbatard/rufus/master/res/icon-set/rufus-128.png) Features diff --git a/_appveyor_mingw.cmd b/_appveyor_mingw.cmd new file mode 100644 index 00000000..4241a375 --- /dev/null +++ b/_appveyor_mingw.cmd @@ -0,0 +1,14 @@ +echo on +SetLocal EnableDelayedExpansion + +if [%configuration%] == [Debug] exit 0 + +set bash=C:\msys64\usr\bin\bash +set arch=i686 +if [%platform%] == [x86_64] set arch=x86_64 + +%bash% -e -l -c "mkdir %platform%" +%bash% -e -l -c ./bootstrap.sh +%bash% -e -l -c "cd %platform%" +%bash% -e -l -c "./configure --prefix=/mingw32 --build=%arch%-w64-mingw32 --host=%arch%-w64-mingw32" +%bash% -e -l -c "make -j4" diff --git a/_appveyor_msvc.cmd b/_appveyor_msvc.cmd new file mode 100644 index 00000000..2401d12f --- /dev/null +++ b/_appveyor_msvc.cmd @@ -0,0 +1,5 @@ +echo on +SetLocal EnableDelayedExpansion + +if [%platform%] == [x86_64] call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /%configuration% /x64 +msbuild rufus.sln /m /p:Configuration=%configuration%,Platform=%platform% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..48130c5a --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,18 @@ +version: 1.0.{build} +configuration: +- Debug +- Release +platform: +- x86_32 +- x86_64 +build: + project: rufus.sln + parallel: true + verbosity: detailed +install: +- cmd: >- + xcopy /S C:\projects\rufus C:\msys64\home\appveyor\ +build_script: +- cmd: >- + _appveyor_msvc.cmd + _appveyor_mingw.cmd diff --git a/src/rufus.rc b/src/rufus.rc index 6fa74b5f..dbfd41c4 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 242, 376 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 2.10.975" +CAPTION "Rufus 2.10.976" FONT 8, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 @@ -320,8 +320,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,10,975,0 - PRODUCTVERSION 2,10,975,0 + FILEVERSION 2,10,976,0 + PRODUCTVERSION 2,10,976,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -338,13 +338,13 @@ BEGIN BEGIN VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "2.10.975" + VALUE "FileVersion", "2.10.976" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2016 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "OriginalFilename", "rufus.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "2.10.975" + VALUE "ProductVersion", "2.10.976" END END BLOCK "VarFileInfo"