Skip to content

Commit

Permalink
add test github action config
Browse files Browse the repository at this point in the history
  • Loading branch information
katat committed Jan 25, 2023
1 parent 29f8a7d commit 0615ccf
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn
- name: Install Rust
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Setup environment
run: source $HOME/.cargo/env
- name: Clone circom
run: git clone https://github.com/iden3/circom.git
- name: Build circom
working-directory: ./circom
run: cargo build --release
- name: Install circom
working-directory: ./circom
run: cargo install --force
- name: Run tests
run: yarn test

0 comments on commit 0615ccf

Please sign in to comment.