appveyor: make 32 bit build target XP + minor fixes
[fio.git] / appveyor.yml
... / ...
CommitLineData
1clone_depth: 1 # NB: this stops FIO-VERSION-GEN making tag based versions
2
3environment:
4 CYG_MIRROR: http://cygwin.mirror.constant.com
5 CYG_ROOT: C:\cygwin64
6 MAKEFLAGS: -j 2
7 matrix:
8 - platform: x64
9 PACKAGE_ARCH: x86_64
10 CONFIGURE_OPTIONS:
11 - platform: x86
12 PACKAGE_ARCH: i686
13 CONFIGURE_OPTIONS: --build-32bit-win --target-win-ver=xp
14
15install:
16 - '%CYG_ROOT%\setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --site "%CYG_MIRROR%" --packages "mingw64-%PACKAGE_ARCH%-zlib" > NUL'
17 - SET PATH=%CYG_ROOT%\bin;%PATH% # NB: Changed env variables persist to later sections
18
19build_script:
20 - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure --disable-native --extra-cflags=\"-Werror\" ${CONFIGURE_OPTIONS} && make.exe'
21
22after_build:
23 - cd os\windows && dobuild.cmd %PLATFORM%
24
25test_script:
26 - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test'
27
28artifacts:
29 - path: os\windows\*.msi
30 name: msi