Skip to content

Commit

Permalink
remove job of installing circom [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
june-in-exile committed Aug 19, 2023
1 parent 9008178 commit 8a169a8
Showing 1 changed file with 36 additions and 33 deletions.
69 changes: 36 additions & 33 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,42 +13,27 @@ concurrency:
cancel-in-progress: true

jobs:
install-circom:
name: Install Circom
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Install circom
run: |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env"
ls -R
cd /tmp
git clone https://github.com/iden3/circom.git
cd circom
cargo build --release
cargo install --path circom
- name: Save circom binary to workspace
run: |
cp $HOME/.cargo/bin/circom $GITHUB_WORKSPACE/circom
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

circuits-test:
name: Circuits Test
runs-on: ubuntu-22.04
timeout-minutes: 30
needs: install-circom
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Use circom binary to workspace
- name: Install circom
run: |
cp $GITHUB_WORKSPACE/circom $HOME/.cargo/bin/circom
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env"
ls -R
cd /tmp
git clone https://github.com/iden3/circom.git
cd circom
cargo build --release
cargo install --path circom
- name: Install packages
run: yarn
- name: Build
Expand All @@ -60,17 +45,23 @@ jobs:
name: Contracts Test
runs-on: ubuntu-22.04
timeout-minutes: 30
needs: install-circom
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Use circom binary to workspace
- name: Install circom
run: |
cp $GITHUB_WORKSPACE/circom $HOME/.cargo/bin/circom
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env"
ls -R
cd /tmp
git clone https://github.com/iden3/circom.git
cd circom
cargo build --release
cargo install --path circom
- name: Install packages
run: yarn
- name: Build
Expand All @@ -82,17 +73,23 @@ jobs:
name: Relay Test
runs-on: ubuntu-22.04
timeout-minutes: 30
needs: install-circom
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Use circom binary to workspace
- name: Install circom
run: |
cp $GITHUB_WORKSPACE/circom $HOME/.cargo/bin/circom
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env"
ls -R
cd /tmp
git clone https://github.com/iden3/circom.git
cd circom
cargo build --release
cargo install --path circom
- name: Install packages
run: yarn
- name: Build
Expand All @@ -104,17 +101,23 @@ jobs:
name: Frontend Test
runs-on: ubuntu-22.04
timeout-minutes: 30
needs: install-circom
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Use circom binary to workspace
- name: Install circom
run: |
cp $GITHUB_WORKSPACE/circom $HOME/.cargo/bin/circom
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env"
ls -R
cd /tmp
git clone https://github.com/iden3/circom.git
cd circom
cargo build --release
cargo install --path circom
- name: Install packages
run: yarn
- name: Build
Expand Down

0 comments on commit 8a169a8

Please sign in to comment.