From 0bc866211383bb2d20cf678745cc93a1ae96767d Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Thu, 11 Jul 2019 16:23:46 +0200
Subject: [PATCH] [Azure] Limit ninja build to two jobs. [ci skip]

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops

-> Standard_DS2_v2: 2 cores, 7 GB Ram
---
 azure-pipelines.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 3600c066f3e..a591c4dbb7e 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -21,5 +21,5 @@ jobs:
       cd build
       call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\vsdevcmd" -arch=x64
       cmake .. -G Ninja -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOGS_EIGEN_DYNAMIC_SHAPE_MATRICES=ON -DOGS_USE_PCH=OFF
-      ninja tests
-      ninja ctest
+      ninja -j 2 tests
+      ninja -j 2 ctest
-- 
GitLab