Skip to content

Commit

Permalink
Add github actions (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
xevisalle authored Nov 4, 2023
1 parent 52a89b8 commit 6761464
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: tests

on: [ push ]

jobs:
build:
name: tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: sudo apt install libcunit1-dev
- run: cd .. && git clone https://github.com/herumi/mcl && cd mcl && make -j8
- run: make test
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MAIN = test
MAIN = tests
OUT = zpie
CC = gcc
CAARCH64 = aarch64-linux-gnu-gcc
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ZPiE: Zero-knowledge Proofs in Embedded systems

![Build Status](https://github.com/xevisalle/zpie/workflows/tests/badge.svg)
[![Repository](https://img.shields.io/badge/github-zpie-blueviolet?logo=github)](https://github.com/xevisalle/zpie)

A portable and efficient C library for developing Zero-Knowledge applications for embedded systems.

**DISCLAIMER**: this library is currently **unstable**. Furthermore, **it has not gone through an exhaustive security analysis**, so it is not intended to be used in a production environment, only for academic purposes.
Expand Down
1 change: 1 addition & 0 deletions src/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ int main()
}

CU_basic_run_tests();
if(CU_get_number_of_failures()) abort();

CU_cleanup_registry();
return CU_get_error();
Expand Down

0 comments on commit 6761464

Please sign in to comment.