diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 3600c066f3e6509c8062a537929eb141948fc908..a591c4dbb7eee469b1a30bee394cd0ead2ea3079 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