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: |
07f3e323 VF |
16 | - '%CYG_ROOT%\setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --site "%CYG_MIRROR%" --packages "mingw64-%PACKAGE_ARCH%-zlib,mingw64-%PACKAGE_ARCH%-CUnit" > NUL' |
17 | - SET PATH=C:\Python38-x64;%CYG_ROOT%\bin;%PATH% # NB: Changed env variables persist to later sections | |
18 | - python.exe -m pip install scipy | |
5580d200 | 19 | |
349cdc89 | 20 | build_script: |
5b34186f | 21 | - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure --disable-native --extra-cflags=\"-Werror\" ${CONFIGURE_OPTIONS} && make.exe' |
349cdc89 SW |
22 | |
23 | after_build: | |
a2b3cb65 | 24 | - cd os\windows && dobuild.cmd %PLATFORM% |
349cdc89 SW |
25 | |
26 | test_script: | |
349cdc89 | 27 | - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test' |
07f3e323 | 28 | - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && python.exe t/run-fio-tests.py --skip 5 --debug' |
349cdc89 SW |
29 | |
30 | artifacts: | |
31 | - path: os\windows\*.msi | |
32 | name: msi |