From 9beece8d20b5d8c7bf5abb89b679cb29cf3aa99b Mon Sep 17 00:00:00 2001 From: Yurii Kovalchuk Date: Wed, 25 Sep 2024 17:21:41 +0300 Subject: [PATCH] ANON-197 - Reduce parallelism --- .github/workflows/build-packages.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index 208778d415..91b780f55f 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -330,7 +330,7 @@ jobs: steps: - name: Set variables run: | - echo "ANON_JOBS=$((`nproc`+1))" + echo "ANON_JOBS=$((`nproc`-1))" - name: Checkout Repository uses: actions/checkout@v4 with: @@ -383,7 +383,6 @@ jobs: rm -rf zlib-${ZLIB_VERSION} - name: Build anon run: | - echo ${{ env.ANON_JOBS }} cd ator-protocol ./scripts/ci/update-env.sh ${{ env.PKG_ENV }} ./autogen.sh @@ -398,8 +397,7 @@ jobs: --disable-gcc-hardening \ --enable-static-tor \ --prefix="/build/anon-prefix" - echo ${{ env.ANON_JOBS }} - make -j1 + make -j${{ env.ANON_JOBS }} make install - name: Copy executables to artifact directory run: |