1 clone_depth: 1 # NB: this stops FIO-VERSION-GEN making tag based versions
7 CYG_MIRROR: http://cygwin.mirror.constant.com
11 CONFIGURE_OPTIONS: --enable-pdb
13 # Skip 32 bit clang build
16 # CONFIGURE_OPTIONS: --enable-pdb
22 CONFIGURE_OPTIONS: --build-32bit-win
26 - if %DISTRO%==cygwin (
27 SET "PATH=C:\cygwin64\bin;C:\cygwin64;%PATH%"
29 - if %DISTRO%==msys2 if %ARCHITECTURE%==x86 (
30 SET "PATH=C:\msys64\mingw32\bin;C:\msys64\usr\bin;%PATH%"
32 - if %DISTRO%==msys2 if %ARCHITECTURE%==x64 (
33 SET "PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%"
35 - SET PATH=C:\Python38-x64;%PATH% # NB: Changed env variables persist to later sections
36 - SET PYTHONUNBUFFERED=TRUE
37 - bash.exe ci\appveyor-install.sh
40 - bash.exe configure --extra-cflags=-Werror --disable-native %CONFIGURE_OPTIONS%
46 - 'cd os\windows && dobuild.cmd %ARCHITECTURE% && cd ..'
47 - ls.exe ./os/windows/*.msi
48 - ps: Get-ChildItem .\os\windows\*.msi | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName fio.msi }
51 - python.exe t/run-fio-tests.py --artifact-root test-artifacts --debug
54 - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && [ -d test-artifacts ] && 7z a -t7z test-artifacts.7z test-artifacts -xr!foo.0.0 -xr!latency.?.0 -xr!fio_jsonplus_clat2csv.test && appveyor PushArtifact test-artifacts.7z'