Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: test

on:
push:
branches:
- main
pull_request:

jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
- run: cargo test
- run: cargo test --manifest-path=./zkvm/risc0/Cargo.toml -- --nocapture

reproducible-build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
- name: Install rzup
run: |
curl -L https://risczero.com/install | bash
echo "$HOME/.risc0/bin" >> $GITHUB_PATH
- name: Install RISC Zero toolchain
run: rzup install rust && rzup install cargo-risczero v1.2.2
- run: . "/home/runner/.bashrc" && ZKDCAP_RISC0_BUILD=1 cargo build -r --manifest-path=./zkvm/risc0/Cargo.toml
- run: git diff --exit-code
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# zkDCAP

[![test](https://github.com/datachainlab/zkdcap/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/datachainlab/zkdcap/actions/workflows/test.yml)

zkDCAP is a Rust library for verifying the ECDSA Quote generated by Intel SGX Data Center Attestation Primitives (DCAP). It also integrates with the RISC Zero zkVM, enabling cost-effective verification on Ethereum and other EVM-based blockchains.