Skip to content

Commit

Permalink
update rapidsnark build step
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Nov 27, 2023
1 parent d7ea0d1 commit d550f68
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,18 @@ jobs:
- name: Checkout rapidsnark source code
uses: actions/checkout@v3
with:
repository: iden3/rapidsnark
repository: clrfund/rapidsnark
path: rapidsnark
- name: Install rapidsnark
run: |
cd $GITHUB_WORKSPACE/rapidsnark
npm install
git submodule init
git submodule update
npx task createFieldSources
npx task buildProver
./build_gmp.sh host
mkdir build_prover && cd build_prover
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../package
make -j4 && make install
pwd
find . -name "prover"
- name: Checkout source code
Expand All @@ -63,7 +65,7 @@ jobs:
yarn start:node &
- name: Run script tests
run: |
export RAPIDSNARK_DIRECTORY=$GITHUB_WORKSPACE/rapidsnark/build
export RAPIDSNARK_DIRECTORY=$GITHUB_WORKSPACE/rapidsnark/package/bin
export CIRCUIT_DIRECTORY=$GITHUB_WORKSPACE/params
cd monorepo/contracts
./sh/runScriptTests.sh

0 comments on commit d550f68

Please sign in to comment.