From ed5b436687966a066212b5d8b5d8e091c20826b9 Mon Sep 17 00:00:00 2001 From: David Rusu Date: Tue, 4 Nov 2025 14:00:17 +0400 Subject: [PATCH] try to get around ftp downtime --- .github/workflows/build-circuits.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/build-circuits.yml b/.github/workflows/build-circuits.yml index 70c2cb7..5da50d5 100644 --- a/.github/workflows/build-circuits.yml +++ b/.github/workflows/build-circuits.yml @@ -190,6 +190,14 @@ jobs: path: rapidsnark/depends/gmp-6.2.1.tar.xz key: gmp-6.2.1 + - name: Download GMP Archive + if: steps.cache-gmp.outputs.cache-hit != 'true' + working-directory: rapidsnark/depends + run: | + echo "Downloading GMP archive..." + curl -L -o gmp-6.2.1.tar.xz https://ftpmirror.gnu.org/gmp/gmp-6.2.1.tar.xz + echo "Download complete." + - name: Compile Prover and Verifier working-directory: rapidsnark run: | @@ -436,6 +444,15 @@ jobs: path: rapidsnark/depends/gmp-6.2.1.tar.xz key: gmp-6.2.1 + - name: Download GMP Archive + if: steps.cache-gmp.outputs.cache-hit != 'true' + shell: msys2 {0} + working-directory: rapidsnark/depends + run: | + echo "Downloading GMP archive..." + curl -L -o gmp-6.2.1.tar.xz https://ftpmirror.gnu.org/gmp/gmp-6.2.1.tar.xz + echo "Download complete." + - name: Compile Prover and Verifier shell: msys2 {0} working-directory: rapidsnark @@ -640,6 +657,14 @@ jobs: path: rapidsnark/depends/gmp-6.2.1.tar.xz key: gmp-6.2.1 + - name: Download GMP Archive + if: steps.cache-gmp.outputs.cache-hit != 'true' + working-directory: rapidsnark/depends + run: | + echo "Downloading GMP archive..." + curl -L -o gmp-6.2.1.tar.xz https://ftpmirror.gnu.org/gmp/gmp-6.2.1.tar.xz + echo "Download complete." + - name: Compile Prover and Verifier working-directory: rapidsnark run: |