io/examples/fio-seq-read: use direct=1
[fio.git] / appveyor.yml
1 clone_depth: 1
2 environment:
3   CYG_MIRROR: http://cygwin.mirror.constant.com
4   CYG_ROOT: C:\cygwin64
5   MAKEFLAGS: -j 2
6   matrix:
7     - platform: x86_64
8       BUILD_ARCH: x64
9       PACKAGE_ARCH: x86_64
10       CONFIGURE_OPTIONS:
11     - platform: x86
12       BUILD_ARCH: x86
13       PACKAGE_ARCH: i686
14       CONFIGURE_OPTIONS: --build-32bit-win
15
16 install:
17   - '%CYG_ROOT%\setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --site "%CYG_MIRROR%" --packages "mingw64-%PACKAGE_ARCH%-zlib" > NULL'
18
19 build_script:
20   - SET PATH=%CYG_ROOT%\bin;%PATH%
21   - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure --extra-cflags=\"-Werror\" ${CONFIGURE_OPTIONS} && make.exe'
22
23 after_build:
24   - cd os\windows && dobuild.cmd %BUILD_ARCH%
25
26 test_script:
27   - SET PATH=%CYG_ROOT%\bin;%PATH%
28   - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test'
29
30 artifacts:
31   - path: os\windows\*.msi
32     name: msi