From 9682fe1823222b842c194c0ed34ac9de41c12bd5 Mon Sep 17 00:00:00 2001 From: Martun Karapetyan Date: Mon, 4 Dec 2023 06:08:01 -0800 Subject: [PATCH] Make the build run in no more than 4 processes in parallel. --- .github/workflows/run_tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 7ed814230..feef25ec5 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -57,7 +57,7 @@ jobs: - name: Cmake and build env: CMAKE_ARGS: " - -DCMAKE_BUILD_TYPE=Debug + -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=FALSE -DBUILD_TESTS=TRUE -DZK_PLACEHOLDER_PROFILING=TRUE @@ -85,6 +85,7 @@ jobs: needs: [checkout] strategy: fail-fast: false + max-parallel: 4 # don't run more than 4 jobs in parallel, they run out of memory matrix: target: [ crypto3_zk_commitment_fold_polynomial_test, @@ -135,7 +136,7 @@ jobs: - name: Build working-directory: ./build - run: cmake --build . -t ${{ matrix.target }} -j 1 + run: cmake --build . -t ${{ matrix.target }} - name: Run test working-directory: ./build