Skip to content

Commit

Permalink
add circom test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lonerapier committed Sep 27, 2024
1 parent aab6df3 commit 5b99714
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: circom

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
circom:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies
run: |
npm install
npm install -g snarkjs
- name: Download and install Circom
run: |
CIRCOM_VERSION=2.1.9
curl -L https://github.com/iden3/circom/releases/download/v$CIRCOM_VERSION/circom-linux-amd64 -o circom
chmod +x circom
sudo mv circom /usr/local/bin/
circom --version
- name: Run tests
run: npm run test

0 comments on commit 5b99714

Please sign in to comment.