commit be5ad6e281bc25f8290af92fa009f3a1c255cd8c
parent 4a08fc6b325b6fcfa8d99c30fe24b8a12bd9b806
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date: Thu, 24 Nov 2022 07:21:30 +0000
Reduce number of ninja jobs for MSVC2022
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
@@ -355,4 +355,5 @@ jobs:
set PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%
set PATH=%PATH:C:\Program Files\LLVM\bin;=%
set PATH=%PATH:C:\Strawberry\c\bin;=%
+ set JOBS=-j2
ci\run.cmd build-release -DKFR_ARCH_TESTS=sse2,sse42,avx,avx2,avx512 -DKFR_ARCH=sse2 -DKFR_ENABLE_DFT=OFF -DCMAKE_BUILD_TYPE=Release
diff --git a/ci/run.cmd b/ci/run.cmd
@@ -7,7 +7,7 @@ pushd %build_dir%
echo Running cmake -GNinja -DENABLE_TESTS=ON %* ..
cmake -GNinja -DENABLE_TESTS=ON %* .. || exit /b
echo Running ninja...
-ninja || exit /b
+ninja %JOBS% || exit /b
echo Running tests...
cd tests && ctest -V || exit /b
popd