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