summaryrefslogtreecommitdiff
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorVincent Fu <vincent.fu@wdc.com>2020-05-26 13:22:38 -0400
committerVincent Fu <vincent.fu@wdc.com>2020-05-28 13:05:33 -0400
commit75fdb108407d34de0928f1326debcfeef1c01445 (patch)
treebb439687e6f48ab1de8bb2d59f07b09ae7d661cd /.appveyor.yml
parent44ec32cbf63c76a9d0e22e0505c0d7888d07afaa (diff)
downloadfio-75fdb108407d34de0928f1326debcfeef1c01445.tar.gz
fio-75fdb108407d34de0928f1326debcfeef1c01445.tar.bz2
appveyor: use on_finish section to upload artifacts
We cannot rely on the artifacts section to upload test artifacts because when a test failure occurs, the entire build process stops and the artifacts are not uploaded. Use the on_finish section instead to upload test artifacts. Signed-off-by: Vincent Fu <vincent.fu@wdc.com>
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index e2351be7..70c337f8 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -26,10 +26,10 @@ after_build:
test_script:
- 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test'
- 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && [ -f fio.exe ] && python.exe t/run-fio-tests.py --artifact-root test-artifacts --debug'
- - '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'
artifacts:
- path: os\windows\*.msi
name: msi
- - path: test-artifacts.7z
- name: test-artifacts
+
+on_finish:
+ - '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'