diff --git a/.github/workflows/test-scripts.yml b/.github/workflows/test-scripts.yml index 5ad201d53..c7fd09df7 100644 --- a/.github/workflows/test-scripts.yml +++ b/.github/workflows/test-scripts.yml @@ -32,7 +32,7 @@ jobs: - name: Checkout rapidsnark source code uses: actions/checkout@v3 with: - repository: iden3/rapidsnark + repository: clrfund/rapidsnark path: rapidsnark - name: Install rapidsnark run: | @@ -40,8 +40,10 @@ jobs: 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 @@ -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