From 48d7672b726bd24ad22f5f4cd11a90db65b25b21 Mon Sep 17 00:00:00 2001 From: "Ya-wen, Jeng" Date: Thu, 22 Feb 2024 21:09:05 +0800 Subject: [PATCH] chore: download circom in ci --- .github/workflows/build-and-test.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 11912928..69ce6e0f 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -24,10 +24,8 @@ jobs: # TODO: We should be able to cache this - name: Install circom run: | - git clone https://github.com/iden3/circom.git - cd circom - cargo build --release - cargo install --path circom + sudo wget -O /Users/runner/.cargo/bin/circom https://github.com/iden3/circom/releases/download/v2.1.8/circom-macos-amd64 + sudo chmod +x /Users/runner/.cargo/bin/circom - uses: actions/checkout@v3 - name: Prepare CI for iOS run: ./scripts/prepare_ci.sh @@ -43,10 +41,8 @@ jobs: steps: - name: Install circom run: | - git clone https://github.com/iden3/circom.git - cd circom - cargo build --release - cargo install --path circom + sudo wget -O /usr/bin/circom https://github.com/iden3/circom/releases/download/v2.1.8/circom-linux-amd64 + sudo chmod +x /usr/bin/circom - uses: actions/checkout@v3 - name: Prepare CI for Core and FFI run: ./scripts/prepare_ci.sh