t/io_uring: Fix the parameters calculation for multiple threads scenario
[fio.git] / .appveyor.yml
CommitLineData
a2b3cb65
SW
1clone_depth: 1 # NB: this stops FIO-VERSION-GEN making tag based versions
2
79378162
BVA
3image:
4 - Visual Studio 2019
5
349cdc89 6environment:
5580d200 7 CYG_MIRROR: http://cygwin.mirror.constant.com
349cdc89 8 matrix:
dc8aed22
SW
9 - ARCHITECTURE: x64
10 CC: clang
11 CONFIGURE_OPTIONS: --enable-pdb
12 DISTRO: msys2
13# Skip 32 bit clang build
14# - ARCHITECTURE: x86
15# CC: clang
16# CONFIGURE_OPTIONS: --enable-pdb
17# DISTRO: msys2
18 - ARCHITECTURE: x64
349cdc89 19 CONFIGURE_OPTIONS:
dc8aed22
SW
20 DISTRO: cygwin
21 - ARCHITECTURE: x86
26dcc084 22 CONFIGURE_OPTIONS: --build-32bit-win
dc8aed22 23 DISTRO: cygwin
349cdc89 24
5580d200 25install:
dc8aed22
SW
26 - if %DISTRO%==cygwin (
27 SET "PATH=C:\cygwin64\bin;C:\cygwin64;%PATH%"
28 )
29 - if %DISTRO%==msys2 if %ARCHITECTURE%==x86 (
30 SET "PATH=C:\msys64\mingw32\bin;C:\msys64\usr\bin;%PATH%"
31 )
32 - if %DISTRO%==msys2 if %ARCHITECTURE%==x64 (
33 SET "PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%"
34 )
35 - SET PATH=C:\Python38-x64;%PATH% # NB: Changed env variables persist to later sections
f41f4fbe 36 - SET PYTHONUNBUFFERED=TRUE
dc8aed22 37 - bash.exe ci\appveyor-install.sh
5580d200 38
349cdc89 39build_script:
dc8aed22
SW
40 - bash.exe configure --extra-cflags=-Werror --disable-native %CONFIGURE_OPTIONS%
41 - make.exe -j2
349cdc89
SW
42
43after_build:
2a41020a
SW
44 - file.exe fio.exe
45 - make.exe test
dc8aed22 46 - 'cd os\windows && dobuild.cmd %ARCHITECTURE% && cd ..'
2a41020a 47 - ps: Get-ChildItem .\os\windows\*.msi | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName fio.msi }
349cdc89
SW
48
49test_script:
dc8aed22 50 - python.exe t/run-fio-tests.py --artifact-root test-artifacts --debug
349cdc89 51
75fdb108
VF
52on_finish:
53 - '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'