X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=appveyor.yml;h=844afa59227380256a94cd287ecf0df61469a153;hp=754339355e0fe4a6ee98f056ee3388432aa8a2c2;hb=b2b3eefe6db21daac41f162a102c0a7c5241acfd;hpb=349cdc89ffebb8f3a9cf3ff5be6a9934b94f1b05 diff --git a/appveyor.yml b/appveyor.yml index 75433935..844afa59 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,19 +1,24 @@ -clone_depth: 50 +clone_depth: 1 environment: + CYG_MIRROR: http://cygwin.mirror.constant.com + CYG_ROOT: C:\cygwin64 MAKEFLAGS: -j 2 matrix: - platform: x86_64 BUILD_ARCH: x64 - CYG_ROOT: C:\cygwin64 + PACKAGE_ARCH: x86_64 CONFIGURE_OPTIONS: - platform: x86 BUILD_ARCH: x86 - CYG_ROOT: C:\cygwin + PACKAGE_ARCH: i686 CONFIGURE_OPTIONS: --build-32bit-win +install: + - '%CYG_ROOT%\setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --site "%CYG_MIRROR%" --packages "mingw64-%PACKAGE_ARCH%-zlib" > NULL' + build_script: - SET PATH=%CYG_ROOT%\bin;%PATH% - - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure ${CONFIGURE_OPTIONS} && make.exe' + - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure --extra-cflags=\"-Werror\" ${CONFIGURE_OPTIONS} && make.exe' after_build: - cd os\windows && dobuild.cmd %BUILD_ARCH%