Skip to content

Commit

Permalink
Make the build run in no more than 4 processes in parallel.
Browse files Browse the repository at this point in the history
  • Loading branch information
martun committed Dec 6, 2023
1 parent cf30e61 commit 9682fe1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9682fe1

Please sign in to comment.