From b832240d981b2c0addb5d90490ee493429f6bfda Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Tue, 15 Feb 2022 13:30:30 +0000 Subject: [PATCH] ci: detect Windows installer build failures When the Windows installer build fails, the build script actually continues running and does not detect the failure. Use ls to determine if the MSI file exists in order to detect whether or not the installer build succeeded. Signed-off-by: Vincent Fu Link: https://lore.kernel.org/r/20220215133027.931-1-vincent.fu@samsung.com Signed-off-by: Jens Axboe --- .appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.appveyor.yml b/.appveyor.yml index 42b79958..b94eefe3 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -44,6 +44,7 @@ after_build: - file.exe fio.exe - make.exe test - 'cd os\windows && dobuild.cmd %ARCHITECTURE% && cd ..' + - ls.exe ./os/windows/*.msi - ps: Get-ChildItem .\os\windows\*.msi | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName fio.msi } test_script: -- 2.25.1