From 514d52a84f0e80a90de68e7d23d7c2c394ebcd12 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Wed, 12 Jun 2019 11:25:10 +0100 Subject: [PATCH] CI: fail if any command fails --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 536ec9d1f..a445056a3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,6 +19,7 @@ jobs: steps: - script: $(cmdLine) - script: | + set -e cd build make -j3 make -j3 examples @@ -62,6 +63,7 @@ jobs: steps: - script: sudo apt-get install ninja-build - script: | + set -e mkdir build cd build $(cmdLine) @@ -104,6 +106,7 @@ jobs: steps: - script: python scripts/mk_make.py -d --java --dotnet - script: | + set -e cd build make -j3 make -j3 examples @@ -123,6 +126,7 @@ jobs: steps: - script: brew install ninja - script: | + set -e mkdir build cd build CC=clang CXX=clang++ cmake $(cmakeStdArgs)