1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[misc] add AppVeyor CI support

This commit is contained in:
Pete Batard 2016-08-05 17:30:49 +02:00
parent 09482d53fe
commit a1f433b1b4
5 changed files with 45 additions and 5 deletions

View file

@ -1,6 +1,9 @@
Rufus: The Reliable USB Formatting Utility 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) ![Rufus logo](https://raw.githubusercontent.com/pbatard/rufus/master/res/icon-set/rufus-128.png)
Features Features

14
_appveyor_mingw.cmd Normal file
View file

@ -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"

5
_appveyor_msvc.cmd Normal file
View file

@ -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"

18
appveyor.yml Normal file
View file

@ -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

View file

@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 242, 376 IDD_DIALOG DIALOGEX 12, 12, 242, 376
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_ACCEPTFILES EXSTYLE WS_EX_ACCEPTFILES
CAPTION "Rufus 2.10.975" CAPTION "Rufus 2.10.976"
FONT 8, "Segoe UI Symbol", 400, 0, 0x0 FONT 8, "Segoe UI Symbol", 400, 0, 0x0
BEGIN BEGIN
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
@ -320,8 +320,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,10,975,0 FILEVERSION 2,10,976,0
PRODUCTVERSION 2,10,975,0 PRODUCTVERSION 2,10,976,0
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -338,13 +338,13 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus" VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "2.10.975" VALUE "FileVersion", "2.10.976"
VALUE "InternalName", "Rufus" VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2016 Pete Batard (GPL v3)" VALUE "LegalCopyright", "© 2011-2016 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe" VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus" VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "2.10.975" VALUE "ProductVersion", "2.10.976"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"