Skip to content

Commit

Permalink
Add Circom stuff to the Runtime (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
shekohex authored Jun 19, 2023
1 parent 1494885 commit 2efe48b
Show file tree
Hide file tree
Showing 33 changed files with 675 additions and 524 deletions.
3 changes: 3 additions & 0 deletions .dvc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/config.local
/tmp
/cache
Empty file added .dvc/config
Empty file.
3 changes: 3 additions & 0 deletions .dvcignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Add patterns of files dvc should ignore, which could improve
# the performance. Learn more at
# https://dvc.org/doc/user-guide/dvcignore
35 changes: 17 additions & 18 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ jobs:
- name: Setup DVC
uses: iterative/setup-dvc@v1
- name: Fetch Fixtures
run: ./scripts/fetch-fixtures.sh
uses: nick-fields/retry@v2
with:
max_attempts: 10
timeout_minutes: 30
command: dvc pull -v
- name: Check Format
run: |
SKIP_WASM_BUILD=1 cargo fmt --all -- --check
Expand All @@ -47,7 +51,11 @@ jobs:
- name: Setup DVC
uses: iterative/setup-dvc@v1
- name: Fetch Fixtures
run: ./scripts/fetch-fixtures.sh
uses: nick-fields/retry@v2
with:
max_attempts: 10
timeout_minutes: 30
command: dvc pull -v
- name: Check Build
run: |
SKIP_WASM_BUILD=1 cargo build --release -Z sparse-registry
Expand All @@ -65,7 +73,11 @@ jobs:
- name: Setup DVC
uses: iterative/setup-dvc@v1
- name: Fetch Fixtures
run: ./scripts/fetch-fixtures.sh
uses: nick-fields/retry@v2
with:
max_attempts: 10
timeout_minutes: 30
command: dvc pull -v
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -96,18 +108,5 @@ jobs:
needs: [check-format, check-build, test]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set-Up
run: sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl protobuf-compiler
- name: Setup DVC
uses: iterative/setup-dvc@v1
- name: Fetch Fixtures
run: ./scripts/fetch-fixtures.sh
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
- name: Install cargo-nextest
uses: baptiste0928/cargo-install@v1
with:
crate: cargo-nextest
- name: All Done
run: echo "All Done"
9 changes: 6 additions & 3 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,18 @@ jobs:
uses: iterative/setup-dvc@v1

- name: Fetch Fixtures
run: ./scripts/fetch-fixtures.sh
uses: nick-fields/retry@v2
with:
max_attempts: 10
timeout_minutes: 30
command: dvc pull -v

- name: Install apt dependencies
run: |
sudo apt-get update && \
sudo apt-get install -y clang libssl-dev llvm libudev-dev libgmp3-dev protobuf-compiler && \
sudo rm -rf /var/lib/apt/lists/*

- name: Rust Cache
uses: Swatinem/rust-cache@v1.3.0

Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,4 @@
**/node_modules
types/build
types/ts-types
.dvc/
solidity-fixtures
.direnv
9 changes: 0 additions & 9 deletions .gitmodules

This file was deleted.

Loading

0 comments on commit 2efe48b

Please sign in to comment.