diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-01-06 18:33:14 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-01-06 18:33:44 +0300 |
commit | ed399554bff29cb00ad50071942d292cf2db0218 (patch) | |
tree | 7a59ccbb586bead6f80a0a091b26763b4e8ff189 /.ci | |
parent | 14d951fd093b32b39c849464a0edfe44d67dc606 (diff) |
ci: Windows: Fail appveyor build on exception
Diffstat (limited to '.ci')
-rw-r--r-- | .ci/appveyor.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.ci/appveyor.yml b/.ci/appveyor.yml index 3e1b40206..5a17a76bc 100644 --- a/.ci/appveyor.yml +++ b/.ci/appveyor.yml @@ -50,8 +50,11 @@ build_script: bash "git clone C:/projects/gajim C:/msys64/home/appveyor/gajim" bash "C:/msys64/home/appveyor/gajim/win/build.sh $($env:MSYS_ARCH)" + if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } + Push-AppveyorArtifact "$($buildroot)/Gajim.exe" -FileName "$($filename).exe" Push-AppveyorArtifact "$($buildroot)/Gajim-Portable.exe" -FileName "$($filename_portable).exe" + if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } # on_finish: # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |