Merge branch 'nanosecond-2stage' of https://github.com/vincentkfu/fio into nsec
[fio.git] / appveyor.yml
1 clone_depth: 50
2 environment:
3   MAKEFLAGS: -j 2
4   matrix:
5     - platform: x86_64
6       BUILD_ARCH: x64
7       CYG_ROOT: C:\cygwin64
8       CONFIGURE_OPTIONS:
9     - platform: x86
10       BUILD_ARCH: x86
11       CYG_ROOT: C:\cygwin
12       CONFIGURE_OPTIONS: --build-32bit-win
13
14 build_script:
15   - SET PATH=%CYG_ROOT%\bin;%PATH%
16   - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure ${CONFIGURE_OPTIONS} && make.exe'
17
18 after_build:
19   - cd os\windows && dobuild.cmd %BUILD_ARCH%
20
21 test_script:
22   - SET PATH=%CYG_ROOT%\bin;%PATH%
23   - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test'
24
25 artifacts:
26   - path: os\windows\*.msi
27     name: msi