mirror of
https://github.com/arnaucube/keccak256-circom.git
synced 2026-01-12 08:51:33 +01:00
Add GHA to test the circuits
This commit is contained in:
26
.github/workflows/test.yml
vendored
Normal file
26
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
name: Test
|
||||||
|
on: [ push, pull_request ]
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [14.x]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- name: Prepare circom
|
||||||
|
run: |
|
||||||
|
# once circom binary is published, instead of compiling from source
|
||||||
|
# every time, use the published binaries
|
||||||
|
git clone https://github.com/iden3/circom.git
|
||||||
|
cd circom
|
||||||
|
cargo build --release
|
||||||
|
cargo install --path circom
|
||||||
|
- name: run tests
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run test
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# keccak256-circom
|
# keccak256-circom [](https://github.com/arnaucube/keccak256-circom/actions?query=workflow%3ATest)
|
||||||
|
|
||||||
WIP repo. Once ready, will do a PR into [circomlib](https://github.com/iden3/circomlib).
|
WIP repo. Once ready, will do a PR into [circomlib](https://github.com/iden3/circomlib).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user