aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2021-01-07 02:19:15 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-12 12:38:03 +0100
commitdc835398724ddfcb0b647388de30341613c992ca (patch)
tree2d54f7126636167a7d26d4e72bce1a4cddd9649a /.cirrus.yml
parent84f4ef17ae9933e27699077a2840a9ea251ca38f (diff)
cirrus/msys2: Exit powershell with $LastExitCode
Currently if we don't exit with $LastExitCode manually, the cirrus would not report the build/testing failure. Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210107101919.80-2-luoyonggang@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 3907e036da..68b8a8fa9c 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -137,5 +137,7 @@ windows_msys2_task:
- C:\tools\msys64\usr\bin\bash.exe -lc "mkdir build"
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && ../configure --python=python3"
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make -j8"
+ - exit $LastExitCode
test_script:
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make V=1 check"
+ - exit $LastExitCode