Skip to content

Commit

Permalink
ANON-197 - Reduce parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
yumirkov committed Sep 25, 2024
1 parent a12d62e commit 9beece8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 9beece8

Please sign in to comment.