From d2c046d3fadcdb781adbbd9b3800a1b5c450d151 Mon Sep 17 00:00:00 2001 From: David Rusu Date: Tue, 4 Nov 2025 09:18:52 +0400 Subject: [PATCH 1/3] fix(release): fix windows bundle release name --- .github/workflows/build-circuits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-circuits.yml b/.github/workflows/build-circuits.yml index 9fee541..5402c4f 100644 --- a/.github/workflows/build-circuits.yml +++ b/.github/workflows/build-circuits.yml @@ -542,7 +542,7 @@ jobs: - name: Create Unified Release Bundle shell: msys2 {0} env: - BUNDLE_NAME: nomos-circuits-${{ env.OS }}-${{ env.ARCH }}-${{ env.VERSION }} + BUNDLE_NAME: nomos-circuits-${{ env.VERSION }}-${{ env.OS }}-${{ env.ARCH }} run: | # Create the bundle directory structure mkdir -p "${BUNDLE_NAME}"/{pol,poq,zksign,poc} From f3cea470e2119e5ea146ba5ce4c7940f4f85703b Mon Sep 17 00:00:00 2001 From: David Rusu Date: Tue, 4 Nov 2025 11:34:53 +0400 Subject: [PATCH 2/3] cache gmp --- .github/workflows/build-circuits.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/build-circuits.yml b/.github/workflows/build-circuits.yml index 5402c4f..70c2cb7 100644 --- a/.github/workflows/build-circuits.yml +++ b/.github/workflows/build-circuits.yml @@ -183,6 +183,13 @@ jobs: - name: Replace Prover Makefile # TODO: Make a fork generate the appropriate Linux Makefile run: cp .github/resources/prover/Makefile rapidsnark/Makefile + - name: Cache GMP Archive + id: cache-gmp + uses: actions/cache@v4 + with: + path: rapidsnark/depends/gmp-6.2.1.tar.xz + key: gmp-6.2.1 + - name: Compile Prover and Verifier working-directory: rapidsnark run: | @@ -422,6 +429,13 @@ jobs: shell: msys2 {0} run: cp .github/resources/prover/${{ env.OS }}.build_gmp.sh rapidsnark/build_gmp.sh + - name: Cache GMP Archive + id: cache-gmp + uses: actions/cache@v4 + with: + path: rapidsnark/depends/gmp-6.2.1.tar.xz + key: gmp-6.2.1 + - name: Compile Prover and Verifier shell: msys2 {0} working-directory: rapidsnark @@ -619,6 +633,13 @@ jobs: - name: Install Dependencies [Prover] run: brew install nasm m4 + - name: Cache GMP Archive + id: cache-gmp + uses: actions/cache@v4 + with: + path: rapidsnark/depends/gmp-6.2.1.tar.xz + key: gmp-6.2.1 + - name: Compile Prover and Verifier working-directory: rapidsnark run: | From ed5b436687966a066212b5d8b5d8e091c20826b9 Mon Sep 17 00:00:00 2001 From: David Rusu Date: Tue, 4 Nov 2025 14:00:17 +0400 Subject: [PATCH 3/3] 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: |