From 1effb4af207ae12e9823c2b899e8a2a774f0c077 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Tue, 13 Jun 2017 23:52:01 +0200 Subject: actually fail if there is an error (this is necessary as we're running an additional bash inside the CI environment and are never generating any exit codes on the actual console) --- appveyor.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/appveyor.sh b/appveyor.sh index dbf13ac32..cf0f08942 100644 --- a/appveyor.sh +++ b/appveyor.sh @@ -16,22 +16,24 @@ EOF -# install dependecies +# install dependencies pacman -S $MINGW_PACKAGE_PREFIX-ccache --needed --noconfirm --noprogressbar source ../msys2installdeps.sh # configure ccache --max-size=200M -cmake .. -G Ninja -DCMAKE_C_COMPILER_LAUNCHER="ccache" -DCMAKE_CXX_COMPILER_LAUNCHER="ccache" +cmake .. -G Ninja -DCMAKE_C_COMPILER_LAUNCHER="ccache" -DCMAKE_CXX_COMPILER_LAUNCHER="ccache" || exit 1 # build ccache --zero-stats -ninja +ninja || exit 1 ccache --show-stats -ninja install + +# install +ninja install || exit 1 # test -inkscape/inkscape.exe -V +inkscape/inkscape.exe -V || exit 1 # package 7z a inkscape.7z inkscape -- cgit v1.2.3